Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001061/0.001061, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 279.2 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.9336/0.9336, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 99.83 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3695, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004793/0.3743, allocations: 4.044 MB / 0.7711 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.3768, allocations: 2.422 MB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.3769, allocations: 4 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.3772, allocations: 55.67 kB / 0.7735 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.3774, allocations: 95.41 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3786, allocations: 0.5394 MB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.3789, allocations: 259.8 kB / 0.7744 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3789, allocations: 13.55 kB / 0.7744 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3791, allocations: 123.5 kB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3792, allocations: 95.59 kB / 0.7746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3793, allocations: 8 kB / 0.7746 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.3801, allocations: 451.3 kB / 0.775 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.3801, allocations: 39.89 kB / 0.7751 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.3803, allocations: 87.58 kB / 0.7751 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.3808, allocations: 413.2 kB / 0.7755 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3809, allocations: 0 / 0.7755 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3809, allocations: 4 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3809, allocations: 0 / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006876/0.3816, allocations: 0.4953 MB / 0.776 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3816, allocations: 8.031 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.3836, allocations: 176.5 kB / 0.7762 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.3839, allocations: 216.1 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3839, allocations: 8.703 kB / 0.7764 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.384, allocations: 16.38 kB / 0.7764 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.3846, allocations: 312.3 kB / 0.7767 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3846, allocations: 0 / 0.7767 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.3847, allocations: 16 kB / 0.7767 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.3847, allocations: 4 kB / 0.7767 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.3854, allocations: 263.5 kB / 0.777 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.387, allocations: 1.4 MB / 0.7784 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.3876, allocations: 190.5 kB / 0.7785 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.3879, allocations: 76.81 kB / 0.7786 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3879, allocations: 4 kB / 0.7786 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3879, allocations: 34.56 kB / 0.7787 GB, free: 7.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.3879, allocations: 3.938 kB / 0.7787 GB, free: 7.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0007679/0.3887, allocations: 241.4 kB / 0.7789 GB, free: 7.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3888, allocations: 59.31 kB / 0.7789 GB, free: 7.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3889, allocations: 153.1 kB / 0.7791 GB, free: 7.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.3889, allocations: 29.7 kB / 0.7791 GB, free: 7.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.389, allocations: 128 kB / 0.7792 GB, free: 7.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.389, allocations: 71.09 kB / 0.7793 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.3891, allocations: 41.94 kB / 0.7793 GB, free: 7.023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3892, allocations: 330.8 kB / 0.7797 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.3895, allocations: 64.42 kB / 0.7797 GB, free: 6.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.3897, allocations: 142.3 kB / 0.7799 GB, free: 6.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.3902, allocations: 224 kB / 0.7801 GB, free: 6.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3902, allocations: 3.938 kB / 0.7801 GB, free: 6.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005784/0.3908, allocations: 249.1 kB / 0.7803 GB, free: 5.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3908, allocations: 12.25 kB / 0.7803 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3908, allocations: 7.938 kB / 0.7803 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3908, allocations: 4 kB / 0.7803 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.3912, allocations: 63.89 kB / 0.7804 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3912, allocations: 4 kB / 0.7804 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3915, allocations: 35.67 kB / 0.7804 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3915, allocations: 8 kB / 0.7804 GB, free: 5.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001166/0.3916, allocations: 144.1 kB / 0.7806 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3917, allocations: 11.91 kB / 0.7806 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.3923, allocations: 237.2 kB / 0.7808 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3923, allocations: 0 / 0.7808 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3923, allocations: 0 / 0.7808 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.3924, allocations: 96.98 kB / 0.7809 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3925, allocations: 4 kB / 0.7809 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.3928, allocations: 15.98 kB / 0.7809 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.3928, allocations: 19.92 kB / 0.7809 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007152/0.3935, allocations: 292.8 kB / 0.7812 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005677/0.3941, allocations: 376.5 kB / 0.7816 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002135/0.3943, allocations: 79.94 kB / 0.7817 GB, free: 4.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.831e-05/0.3944, allocations: 117.3 kB / 0.7818 GB, free: 4.398 MB / 0.545 GB Notification: Performance of Backend: time 5.31e-07/0.3944, allocations: 0 / 0.7818 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.3955, allocations: 391.2 kB / 0.7821 GB, free: 4.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007762/0.3962, allocations: 0.8117 MB / 0.7829 GB, free: 3.164 MB / 0.545 GB Notification: Performance of Templates: time 0.01011/0.4064, allocations: 6.205 MB / 0.789 GB, free: 13.04 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)