Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001238/0.001238, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002769/0.002769, allocations: 291.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 99.8 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3667, allocations: 86.98 MB / 0.7671 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001634/0.3684, allocations: 0.6291 MB / 0.7677 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.3687, allocations: 203.1 kB / 0.7679 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.3688, allocations: 0 / 0.7679 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.3688, allocations: 3.938 kB / 0.7679 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.3689, allocations: 11.94 kB / 0.7679 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3691, allocations: 71.8 kB / 0.768 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.271e-05/0.3691, allocations: 35.86 kB / 0.768 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.444e-05/0.3692, allocations: 4 kB / 0.768 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.3692, allocations: 15.97 kB / 0.768 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.3692, allocations: 23.86 kB / 0.7681 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3693, allocations: 0 / 0.7681 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3694, allocations: 111.7 kB / 0.7682 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.3694, allocations: 3.984 kB / 0.7682 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.3695, allocations: 15.92 kB / 0.7682 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3696, allocations: 107.7 kB / 0.7683 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3696, allocations: 4 kB / 0.7683 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3696, allocations: 0 / 0.7683 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.3696, allocations: 4 kB / 0.7683 GB, free: 2.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003803/0.37, allocations: 363.1 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.462e-05/0.37, allocations: 8.031 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.3701, allocations: 8.781 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3702, allocations: 178.8 kB / 0.7688 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3702, allocations: 8.312 kB / 0.7688 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3702, allocations: 4.375 kB / 0.7689 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3703, allocations: 58.23 kB / 0.7689 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3704, allocations: 192 / 0.7689 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.3704, allocations: 3.938 kB / 0.7689 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-06/0.3704, allocations: 0 / 0.7689 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3705, allocations: 35.95 kB / 0.7689 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.3707, allocations: 245 kB / 0.7692 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3709, allocations: 74.41 kB / 0.7692 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.371, allocations: 24.94 kB / 0.7693 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.371, allocations: 0 / 0.7693 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.3711, allocations: 30.56 kB / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3711, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02732/0.3984, allocations: 1.62 MB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3984, allocations: 55.41 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3986, allocations: 109.8 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.3986, allocations: 29.7 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.3987, allocations: 88.14 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.3988, allocations: 31.55 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.399, allocations: 25.7 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3991, allocations: 318.8 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.3996, allocations: 147.9 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.4001, allocations: 139.9 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.401, allocations: 301.3 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4011, allocations: 3.938 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001146/0.4022, allocations: 337.4 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4022, allocations: 10.48 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4022, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4023, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.4039, allocations: 59.94 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4039, allocations: 0 / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4053, allocations: 51.94 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.4054, allocations: 4 kB / 0.7725 GB, free: 14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001772/0.4055, allocations: 124.1 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.4056, allocations: 4 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4058, allocations: 24.36 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4058, allocations: 432 / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4058, allocations: 0 / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.4058, allocations: 81.02 kB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.4059, allocations: 0 / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.4074, allocations: 51.88 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.4074, allocations: 7.984 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002511/0.4099, allocations: 456.8 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001197/0.4111, allocations: 0.4947 MB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000466/0.4116, allocations: 147.9 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.4116, allocations: 95.27 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Backend: time 4.3e-07/0.4117, allocations: 0 / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.4127, allocations: 251.8 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005599/0.4133, allocations: 0.584 MB / 0.7748 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Templates: time 0.01379/0.4271, allocations: 10.25 MB / 0.7848 GB, free: 1.285 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)