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.0009938/0.0009938, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.0009218/0.0009218, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 294.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8856/0.8856, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 95.86 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3638, allocations: 86.97 MB / 0.7671 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001513/0.3654, allocations: 0.6174 MB / 0.7677 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3669, allocations: 1.381 MB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.3669, allocations: 0 / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.367, allocations: 0 / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.367, allocations: 7.922 kB / 0.7691 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.3676, allocations: 179.6 kB / 0.7692 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3677, allocations: 47.95 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3677, allocations: 4 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.3678, allocations: 19.92 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3678, allocations: 23.91 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3679, allocations: 4 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.3682, allocations: 207.7 kB / 0.7695 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.3682, allocations: 12 kB / 0.7695 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.3683, allocations: 23.8 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3685, allocations: 199.2 kB / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3685, allocations: 0 / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3685, allocations: 0 / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3685, allocations: 0 / 0.7697 GB, free: 1.035 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.0003838/0.3689, allocations: 441.2 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.369, allocations: 8.031 kB / 0.7702 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.369, allocations: 8.844 kB / 0.7702 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3691, allocations: 175 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3691, allocations: 4.375 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3692, allocations: 4.375 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3693, allocations: 99.75 kB / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3693, allocations: 3.938 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3694, allocations: 0 / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3694, allocations: 3.984 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3695, allocations: 63.89 kB / 0.7705 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.3696, allocations: 173.7 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3697, allocations: 82.53 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.3698, allocations: 68.89 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.3698, allocations: 0 / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3699, allocations: 42.48 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3699, allocations: 0 / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003478/0.3702, allocations: 255.1 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3703, allocations: 81.11 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3704, allocations: 149.8 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3704, allocations: 25.7 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3705, allocations: 88.14 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3705, allocations: 15.73 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3706, allocations: 29.66 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3707, allocations: 322.8 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3708, allocations: 99.94 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3709, allocations: 103.9 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3711, allocations: 281.8 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3712, allocations: 4 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003042/0.3715, allocations: 320.8 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.3715, allocations: 71.33 kB / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3715, allocations: 0 / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.3715, allocations: 0 / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3716, allocations: 0 / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3716, allocations: 0 / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3717, allocations: 8 kB / 0.7726 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3717, allocations: 11.98 kB / 0.7727 GB, free: 13.77 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 9.252e-05/0.3718, allocations: 150 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.3718, allocations: 11.84 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.3718, allocations: 8.25 kB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3718, allocations: 0 / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3719, allocations: 0 / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.3719, allocations: 84.95 kB / 0.7729 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3719, allocations: 4 kB / 0.7729 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.372, allocations: 11.98 kB / 0.7729 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.372, allocations: 4 kB / 0.7729 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002602/0.3723, allocations: 338 kB / 0.7732 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002818/0.3726, allocations: 376.3 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.598e-05/0.3727, allocations: 79.94 kB / 0.7737 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.3728, allocations: 106.2 kB / 0.7738 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3728, allocations: 0 / 0.7738 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.3734, allocations: 445.1 kB / 0.7742 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004016/0.3739, allocations: 0.6413 MB / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Templates: time 0.004138/0.378, allocations: 2.061 MB / 0.7768 GB, free: 9.324 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)