Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001337/0.001337, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.283/1.283, 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.002045/0.002045, allocations: 289.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9113/0.9113, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 95.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3811, allocations: 86.99 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005291/0.3864, allocations: 4.414 MB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.3889, allocations: 2.698 MB / 0.774 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.389, allocations: 0 / 0.774 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.3893, allocations: 43.69 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.3895, allocations: 103.3 kB / 0.7742 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3906, allocations: 489.2 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.3909, allocations: 239.9 kB / 0.7749 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.391, allocations: 17.55 kB / 0.7749 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.3919, allocations: 414.5 kB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.3921, allocations: 91.59 kB / 0.7754 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.3921, allocations: 8 kB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.393, allocations: 499 kB / 0.7759 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.3931, allocations: 39.83 kB / 0.7759 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.3932, allocations: 75.66 kB / 0.776 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.3939, allocations: 353.7 kB / 0.7763 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3939, allocations: 3.938 kB / 0.7763 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3939, allocations: 0 / 0.7763 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3939, allocations: 0 / 0.7763 GB, free: 10.42 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.0007315/0.3946, allocations: 499.4 kB / 0.7768 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3947, allocations: 12.03 kB / 0.7768 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.3949, allocations: 24.73 kB / 0.7768 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3951, allocations: 212.1 kB / 0.777 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3952, allocations: 12.7 kB / 0.777 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3952, allocations: 12.38 kB / 0.777 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3955, allocations: 249.1 kB / 0.7773 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3956, allocations: 3.938 kB / 0.7773 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3956, allocations: 15.94 kB / 0.7773 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.3956, allocations: 4 kB / 0.7773 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.3961, allocations: 439.5 kB / 0.7777 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3971, allocations: 0.9998 MB / 0.7787 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.3973, allocations: 160.5 kB / 0.7789 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.3974, allocations: 60.88 kB / 0.7789 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.3986, allocations: 1.829 MB / 0.7807 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3987, allocations: 38.56 kB / 0.7807 GB, free: 5.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3987, allocations: 0 / 0.7807 GB, free: 5.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003199/0.399, allocations: 152.6 kB / 0.7809 GB, free: 5.152 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.3991, allocations: 59.34 kB / 0.7809 GB, free: 5.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3992, allocations: 167 kB / 0.7811 GB, free: 4.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3992, allocations: 33.7 kB / 0.7811 GB, free: 4.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.3993, allocations: 143.8 kB / 0.7813 GB, free: 4.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3993, allocations: 47.3 kB / 0.7813 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.3994, allocations: 53.61 kB / 0.7814 GB, free: 4.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.3995, allocations: 326.8 kB / 0.7817 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.3996, allocations: 43.97 kB / 0.7817 GB, free: 4.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3997, allocations: 135.4 kB / 0.7818 GB, free: 4.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3999, allocations: 201.5 kB / 0.782 GB, free: 3.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3999, allocations: 0 / 0.782 GB, free: 3.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002963/0.4002, allocations: 221.2 kB / 0.7822 GB, free: 3.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4003, allocations: 8 kB / 0.7823 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4003, allocations: 4 kB / 0.7823 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4003, allocations: 4 kB / 0.7823 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.4005, allocations: 59.84 kB / 0.7823 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4005, allocations: 4 kB / 0.7823 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4006, allocations: 27.69 kB / 0.7823 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.4006, allocations: 15.98 kB / 0.7824 GB, free: 3.477 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.686e-05/0.4007, allocations: 134.1 kB / 0.7825 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.4008, allocations: 11.91 kB / 0.7825 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.401, allocations: 166.2 kB / 0.7827 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4011, allocations: 3.938 kB / 0.7827 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4011, allocations: 4 kB / 0.7827 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4011, allocations: 0 / 0.7827 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.4013, allocations: 217.5 kB / 0.7829 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4013, allocations: 3.938 kB / 0.7829 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.4014, allocations: 24 kB / 0.7829 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4014, allocations: 4 kB / 0.7829 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4014, allocations: 7.984 kB / 0.7829 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4014, allocations: 3.938 kB / 0.7829 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4015, allocations: 4 kB / 0.7829 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4017, allocations: 223.2 kB / 0.7831 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.4018, allocations: 104.9 kB / 0.7832 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4018, allocations: 0 / 0.7832 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.402, allocations: 23.92 kB / 0.7833 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.402, allocations: 11.98 kB / 0.7833 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4021, allocations: 11.98 kB / 0.7833 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.4021, allocations: 121.8 kB / 0.7834 GB, free: 2.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4021, allocations: 0 / 0.7834 GB, free: 2.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003735/0.4025, allocations: 75.94 kB / 0.7835 GB, free: 2.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002803/0.4028, allocations: 175.2 kB / 0.7836 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.403, allocations: 119.7 kB / 0.7837 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4031, allocations: 0 / 0.7837 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.4031, allocations: 51.89 kB / 0.7838 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4036, allocations: 48.89 kB / 0.7838 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.4042, allocations: 376.5 kB / 0.7842 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4044, allocations: 0.709 MB / 0.7849 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.4045, allocations: 35.36 kB / 0.7849 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4045, allocations: 0 / 0.7849 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of Templates: time 0.004938/0.4095, allocations: 3.161 MB / 0.788 GB, free: 13.55 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)