Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004665/0.004665, allocations: 98.75 kB / 15.73 MB, free: 6.004 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.001168/0.001168, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 290.7 kB / 290.8 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.9219/0.9219, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 92.28 kB / 0.6815 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.433, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01486/0.4479, allocations: 12.97 MB / 0.7791 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.4505, allocations: 2.667 MB / 0.7817 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.4506, allocations: 7.938 kB / 0.7817 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.4508, allocations: 43.73 kB / 0.7818 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.4511, allocations: 91.36 kB / 0.7819 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4521, allocations: 0.5006 MB / 0.7823 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.4524, allocations: 235.9 kB / 0.7826 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.4524, allocations: 13.55 kB / 0.7826 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007113/0.4595, allocations: 3.583 MB / 0.7861 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.4597, allocations: 87.61 kB / 0.7862 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4597, allocations: 8 kB / 0.7862 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.462, allocations: 1.079 MB / 0.7872 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.462, allocations: 39.83 kB / 0.7873 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.4621, allocations: 83.64 kB / 0.7873 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.4627, allocations: 367 kB / 0.7877 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4627, allocations: 0 / 0.7877 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4627, allocations: 3.938 kB / 0.7877 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4627, allocations: 0 / 0.7877 GB, free: 14.08 MB / 0.5606 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.0006938/0.4634, allocations: 0.4954 MB / 0.7882 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4635, allocations: 8.031 kB / 0.7882 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.4636, allocations: 24.73 kB / 0.7882 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4639, allocations: 224 kB / 0.7884 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.464, allocations: 8.703 kB / 0.7884 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.464, allocations: 20.38 kB / 0.7884 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.4643, allocations: 248.1 kB / 0.7887 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4644, allocations: 0 / 0.7887 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4644, allocations: 15.98 kB / 0.7887 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4644, allocations: 15.92 kB / 0.7887 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.4649, allocations: 427.5 kB / 0.7891 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4659, allocations: 0.9527 MB / 0.7901 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4662, allocations: 169.2 kB / 0.7902 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.4663, allocations: 60.88 kB / 0.7903 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.4675, allocations: 1.833 MB / 0.7921 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.4676, allocations: 38.5 kB / 0.7921 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.4676, allocations: 0 / 0.7921 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003105/0.4679, allocations: 148.4 kB / 0.7922 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.4679, allocations: 63.28 kB / 0.7923 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4681, allocations: 159.1 kB / 0.7925 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4681, allocations: 37.7 kB / 0.7925 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.4682, allocations: 151.7 kB / 0.7926 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4682, allocations: 47.23 kB / 0.7927 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.4683, allocations: 57.61 kB / 0.7927 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4684, allocations: 322.8 kB / 0.793 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.4685, allocations: 35.97 kB / 0.7931 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.4686, allocations: 142.2 kB / 0.7932 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4688, allocations: 197.5 kB / 0.7934 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4688, allocations: 0 / 0.7934 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002976/0.4691, allocations: 220.1 kB / 0.7936 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4691, allocations: 6.188 kB / 0.7936 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4692, allocations: 4 kB / 0.7936 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4692, allocations: 8 kB / 0.7936 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.4693, allocations: 55.84 kB / 0.7937 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4694, allocations: 4 kB / 0.7937 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4695, allocations: 28.12 kB / 0.7937 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.4695, allocations: 20 kB / 0.7937 GB, free: 7.164 MB / 0.5606 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 0.0001009/0.4696, allocations: 125.8 kB / 0.7938 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.4697, allocations: 15.81 kB / 0.7939 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.4699, allocations: 161.6 kB / 0.794 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.47, allocations: 3.938 kB / 0.794 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.47, allocations: 0 / 0.794 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.47, allocations: 4 kB / 0.794 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.4702, allocations: 217.5 kB / 0.7942 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4702, allocations: 0 / 0.7942 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.4703, allocations: 31.98 kB / 0.7943 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4703, allocations: 4 kB / 0.7943 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4703, allocations: 0 / 0.7943 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4703, allocations: 3.938 kB / 0.7943 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4703, allocations: 0 / 0.7943 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4706, allocations: 219.3 kB / 0.7945 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.4706, allocations: 116.8 kB / 0.7946 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.4707, allocations: 7.984 kB / 0.7946 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4709, allocations: 23.92 kB / 0.7946 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4709, allocations: 11.98 kB / 0.7946 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.471, allocations: 8 kB / 0.7946 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.471, allocations: 117.8 kB / 0.7948 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.471, allocations: 0 / 0.7948 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003645/0.4714, allocations: 87.97 kB / 0.7948 GB, free: 5.93 MB / 0.5606 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.0002611/0.4717, allocations: 183 kB / 0.795 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.4719, allocations: 115.7 kB / 0.7951 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4719, allocations: 8.125 kB / 0.7951 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.472, allocations: 43.92 kB / 0.7952 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4724, allocations: 52.39 kB / 0.7952 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.473, allocations: 338.9 kB / 0.7955 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4733, allocations: 0.7168 MB / 0.7962 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.4734, allocations: 44.38 kB / 0.7963 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4735, allocations: 35.42 kB / 0.7963 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4735, allocations: 0 / 0.7963 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.006404/0.4799, allocations: 3.67 MB / 0.7999 GB, free: 0.7305 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)