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.000951/0.000951, allocations: 84.38 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 267 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004302, allocations: 19.17 kB / 0.598 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 88.54 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004423/0.1407, allocations: 3.92 MB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1432, allocations: 2.476 MB / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.1433, allocations: 7.938 kB / 0.6907 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1435, allocations: 35.8 kB / 0.6908 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1437, allocations: 83.5 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000892/0.1446, allocations: 407.8 kB / 0.6912 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1449, allocations: 263.9 kB / 0.6915 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1449, allocations: 9.562 kB / 0.6915 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.1458, allocations: 402.9 kB / 0.6919 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1459, allocations: 91.66 kB / 0.692 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1459, allocations: 4 kB / 0.692 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008093/0.1467, allocations: 411.4 kB / 0.6924 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.1468, allocations: 31.89 kB / 0.6924 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1468, allocations: 53.64 kB / 0.6924 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1471, allocations: 219.5 kB / 0.6926 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1472, allocations: 0 / 0.6926 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1472, allocations: 0 / 0.6926 GB, free: 7.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1472, allocations: 0 / 0.6926 GB, free: 7.125 MB / 494.1 MB 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.0005977/0.1478, allocations: 467.1 kB / 0.6931 GB, free: 6.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1478, allocations: 12.03 kB / 0.6931 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.148, allocations: 23.77 kB / 0.6931 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1482, allocations: 206.8 kB / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1482, allocations: 16.33 kB / 0.6933 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1482, allocations: 16 kB / 0.6934 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1486, allocations: 249.5 kB / 0.6936 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1486, allocations: 0 / 0.6936 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1486, allocations: 12 kB / 0.6936 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1487, allocations: 4 kB / 0.6936 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.1491, allocations: 435.4 kB / 0.694 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.1501, allocations: 1.004 MB / 0.695 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1504, allocations: 154.4 kB / 0.6951 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.1505, allocations: 62.19 kB / 0.6952 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.1517, allocations: 1.825 MB / 0.697 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1518, allocations: 38.48 kB / 0.697 GB, free: 2.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.1518, allocations: 4 kB / 0.697 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003009/0.1521, allocations: 139.2 kB / 0.6972 GB, free: 1.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1521, allocations: 55.41 kB / 0.6972 GB, free: 1.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1523, allocations: 168.9 kB / 0.6974 GB, free: 1.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1523, allocations: 33.7 kB / 0.6974 GB, free: 1.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1524, allocations: 139.8 kB / 0.6975 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1524, allocations: 47.27 kB / 0.6976 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.1525, allocations: 11.98 kB / 0.6976 GB, free: 1.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1526, allocations: 330.8 kB / 0.6979 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.1527, allocations: 31.98 kB / 0.6979 GB, free: 1.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1528, allocations: 142.9 kB / 0.6981 GB, free: 0.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.1529, allocations: 62.27 kB / 0.6981 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1529, allocations: 4 kB / 0.6981 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003086/0.1532, allocations: 217.1 kB / 0.6984 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1532, allocations: 4 kB / 0.6984 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.1533, allocations: 8.469 kB / 0.6984 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1533, allocations: 4 kB / 0.6984 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1535, allocations: 59.92 kB / 0.6984 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1535, allocations: 7.938 kB / 0.6984 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1536, allocations: 31.67 kB / 0.6985 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1536, allocations: 12 kB / 0.6985 GB, free: 480 kB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/0.1537, allocations: 129.7 kB / 0.6986 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1538, allocations: 19.86 kB / 0.6986 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.1541, allocations: 158.9 kB / 0.6988 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1541, allocations: 4 kB / 0.6988 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1541, allocations: 7.922 kB / 0.6988 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1541, allocations: 0 / 0.6988 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1544, allocations: 213.5 kB / 0.699 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1544, allocations: 0 / 0.699 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.1545, allocations: 27.92 kB / 0.699 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1545, allocations: 3.953 kB / 0.699 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1545, allocations: 8 kB / 0.699 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1545, allocations: 0 / 0.699 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1545, allocations: 0 / 0.699 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1547, allocations: 217.5 kB / 0.6992 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.1548, allocations: 108.9 kB / 0.6993 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1548, allocations: 7.953 kB / 0.6993 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1551, allocations: 19.98 kB / 0.6994 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1551, allocations: 11.92 kB / 0.6994 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1551, allocations: 19.98 kB / 0.6994 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.1552, allocations: 115.2 kB / 0.6995 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 0.6995 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003786/0.1556, allocations: 83.94 kB / 0.6996 GB, free: 15.24 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.1558, allocations: 171 kB / 0.6997 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1561, allocations: 124.1 kB / 0.6999 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1561, allocations: 0 / 0.6999 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.1561, allocations: 44.91 kB / 0.6999 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.1566, allocations: 48.52 kB / 0.6999 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.1572, allocations: 435.3 kB / 0.7004 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1575, allocations: 0.7094 MB / 0.7011 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.1577, allocations: 49.73 kB / 0.7011 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1577, allocations: 19.44 kB / 0.7011 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1577, allocations: 0 / 0.7011 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.006178/0.1639, allocations: 3.132 MB / 0.7042 GB, free: 10.52 MB / 0.4981 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)