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.001553/0.001553, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001817/0.001817, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002114, allocations: 285.6 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.9271/0.9271, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 99.84 kB / 0.6822 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.36, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005211/0.3652, allocations: 4.043 MB / 0.7711 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.3679, allocations: 2.414 MB / 0.7734 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.368, allocations: 4 kB / 0.7734 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3683, allocations: 51.67 kB / 0.7735 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3685, allocations: 99.34 kB / 0.7736 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3698, allocations: 0.5287 MB / 0.7741 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.3701, allocations: 255.9 kB / 0.7743 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3702, allocations: 13.55 kB / 0.7743 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.3704, allocations: 123.5 kB / 0.7745 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3705, allocations: 91.66 kB / 0.7746 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.3706, allocations: 11.94 kB / 0.7746 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.3714, allocations: 455.3 kB / 0.775 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.3714, allocations: 39.89 kB / 0.775 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.3715, allocations: 83.58 kB / 0.7751 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.3722, allocations: 413.2 kB / 0.7755 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3722, allocations: 0 / 0.7755 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3722, allocations: 4 kB / 0.7755 GB, free: 11.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3722, allocations: 0 / 0.7755 GB, free: 11.35 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.0007117/0.3729, allocations: 0.4993 MB / 0.776 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.373, allocations: 8.031 kB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.375, allocations: 176.5 kB / 0.7762 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3753, allocations: 224.1 kB / 0.7764 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3753, allocations: 8.703 kB / 0.7764 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.3754, allocations: 16.38 kB / 0.7764 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.376, allocations: 308.4 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.376, allocations: 0 / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.3761, allocations: 8 kB / 0.7767 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3761, allocations: 11.88 kB / 0.7767 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.3768, allocations: 263.6 kB / 0.777 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.3783, allocations: 1.392 MB / 0.7783 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.379, allocations: 190.4 kB / 0.7785 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3792, allocations: 80.81 kB / 0.7786 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.3793, allocations: 8 kB / 0.7786 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3793, allocations: 30.56 kB / 0.7786 GB, free: 7.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.3793, allocations: 0 / 0.7786 GB, free: 7.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0007767/0.3801, allocations: 252.3 kB / 0.7789 GB, free: 7.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3801, allocations: 59.31 kB / 0.7789 GB, free: 7.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3803, allocations: 157.8 kB / 0.7791 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3803, allocations: 29.7 kB / 0.7791 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.3804, allocations: 128 kB / 0.7792 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.3804, allocations: 63.09 kB / 0.7793 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.3805, allocations: 49.92 kB / 0.7793 GB, free: 7.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3806, allocations: 322.8 kB / 0.7796 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3809, allocations: 68.42 kB / 0.7797 GB, free: 6.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.3811, allocations: 138.3 kB / 0.7798 GB, free: 6.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3816, allocations: 221.1 kB / 0.7801 GB, free: 6.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3816, allocations: 3.938 kB / 0.7801 GB, free: 6.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000593/0.3822, allocations: 253.1 kB / 0.7803 GB, free: 6.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3822, allocations: 8 kB / 0.7803 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3823, allocations: 0 / 0.7803 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3823, allocations: 4 kB / 0.7803 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3826, allocations: 72.2 kB / 0.7804 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3827, allocations: 7.938 kB / 0.7804 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3829, allocations: 31.67 kB / 0.7804 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3829, allocations: 15.98 kB / 0.7804 GB, free: 5.926 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.0001086/0.3831, allocations: 132.1 kB / 0.7806 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.3831, allocations: 11.91 kB / 0.7806 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.3838, allocations: 230.6 kB / 0.7808 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3838, allocations: 4 kB / 0.7808 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3838, allocations: 0 / 0.7808 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.3839, allocations: 101 kB / 0.7809 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.3839, allocations: 0 / 0.7809 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.3842, allocations: 19.98 kB / 0.7809 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3842, allocations: 11.92 kB / 0.7809 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007411/0.385, allocations: 306.8 kB / 0.7812 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005664/0.3856, allocations: 366.5 kB / 0.7816 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002202/0.3858, allocations: 85.83 kB / 0.7816 GB, free: 4.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.3859, allocations: 111.2 kB / 0.7818 GB, free: 4.516 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/0.3859, allocations: 0 / 0.7818 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009734/0.3869, allocations: 394.5 kB / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007453/0.3876, allocations: 0.8173 MB / 0.7829 GB, free: 3.27 MB / 0.545 GB Notification: Performance of Templates: time 0.009783/0.3974, allocations: 6.198 MB / 0.789 GB, free: 13.15 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)