Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 105.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 288.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 104.2 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4074, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001582/0.409, allocations: 0.6199 MB / 0.7677 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.4108, allocations: 1.381 MB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.4108, allocations: 3.938 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.4109, allocations: 3.984 kB / 0.7691 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.4109, allocations: 11.92 kB / 0.7691 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.4115, allocations: 179.1 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.4116, allocations: 39.97 kB / 0.7693 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.4116, allocations: 3.984 kB / 0.7693 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.4117, allocations: 23.92 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.4117, allocations: 23.91 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4117, allocations: 4 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.412, allocations: 207.7 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.4121, allocations: 11.94 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.4121, allocations: 27.86 kB / 0.7696 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4124, allocations: 193.1 kB / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4124, allocations: 0 / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4124, allocations: 0 / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.4124, allocations: 0 / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004638/0.4129, allocations: 446.3 kB / 0.7702 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4129, allocations: 8.031 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.4129, allocations: 4.938 kB / 0.7702 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4131, allocations: 176.3 kB / 0.7704 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4131, allocations: 4.375 kB / 0.7704 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4131, allocations: 4.375 kB / 0.7704 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4133, allocations: 99.75 kB / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4133, allocations: 0 / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4133, allocations: 4 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.4133, allocations: 0 / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.4134, allocations: 63.89 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.4136, allocations: 169.7 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4137, allocations: 86.52 kB / 0.7708 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4138, allocations: 64.89 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.4138, allocations: 0 / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4138, allocations: 38.5 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4138, allocations: 0 / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004018/0.4142, allocations: 255.2 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4143, allocations: 77.11 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.4144, allocations: 152.7 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4144, allocations: 33.73 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.4145, allocations: 92.11 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4145, allocations: 11.91 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.4146, allocations: 29.7 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4147, allocations: 318.8 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4148, allocations: 103.9 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.415, allocations: 107.8 kB / 0.772 GB, free: 14.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.4152, allocations: 281.8 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4153, allocations: 4.031 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003905/0.4156, allocations: 320.8 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.4157, allocations: 67.39 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4157, allocations: 4 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4157, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.4157, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4157, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.4159, allocations: 19.88 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.4159, allocations: 8 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.416, allocations: 154 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.4161, allocations: 11.89 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.4161, allocations: 4.25 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4161, allocations: 4 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4161, allocations: 0 / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4161, allocations: 0 / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.4162, allocations: 173.6 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4162, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.4162, allocations: 3.938 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.4162, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4162, allocations: 3.984 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4162, allocations: 11.94 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4162, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.4165, allocations: 226.8 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4166, allocations: 92.98 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.4166, allocations: 0 / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.4166, allocations: 4 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4167, allocations: 7.984 kB / 0.7733 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4167, allocations: 7.969 kB / 0.7733 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.4168, allocations: 111.2 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 0 / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003214/0.4171, allocations: 63.88 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.4175, allocations: 151.1 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.4179, allocations: 330.6 kB / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4179, allocations: 0 / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.418, allocations: 127.3 kB / 0.7741 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.4182, allocations: 17.55 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.4185, allocations: 205.5 kB / 0.7743 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4188, allocations: 0.6924 MB / 0.775 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.271e-06/0.4189, allocations: 0 / 0.775 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.4189, allocations: 19.38 kB / 0.775 GB, free: 11.33 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.4189, allocations: 0 / 0.775 GB, free: 11.33 MB / 0.545 GB Notification: Performance of Templates: time 0.005488/0.4244, allocations: 2.035 MB / 0.777 GB, free: 9.301 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)