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: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008078, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0008434/0.0008434, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001647, allocations: 266.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 16.58 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004369/0.1423, allocations: 4.094 MB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1448, allocations: 2.659 MB / 0.6918 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.1449, allocations: 0.625 kB / 0.6918 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1451, allocations: 39.75 kB / 0.6919 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1453, allocations: 99.47 kB / 0.6919 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.1462, allocations: 448.9 kB / 0.6924 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1465, allocations: 307.8 kB / 0.6927 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1466, allocations: 21.55 kB / 0.6927 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007886/0.1474, allocations: 402.4 kB / 0.6931 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1475, allocations: 91.66 kB / 0.6932 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1475, allocations: 8 kB / 0.6932 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.1483, allocations: 0.4911 MB / 0.6937 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1484, allocations: 39.89 kB / 0.6937 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.1484, allocations: 101.4 kB / 0.6938 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1489, allocations: 351.1 kB / 0.6941 GB, free: 5.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1489, allocations: 0 / 0.6941 GB, free: 5.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1489, allocations: 0 / 0.6941 GB, free: 5.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1489, allocations: 0 / 0.6941 GB, free: 5.852 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.0005493/0.1495, allocations: 479.2 kB / 0.6946 GB, free: 5.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1495, allocations: 8.031 kB / 0.6946 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1496, allocations: 54.73 kB / 0.6946 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1497, allocations: 20.75 kB / 0.6947 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1499, allocations: 216 kB / 0.6949 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1499, allocations: 8.703 kB / 0.6949 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1499, allocations: 20.38 kB / 0.6949 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1502, allocations: 253.5 kB / 0.6951 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1503, allocations: 0 / 0.6951 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1503, allocations: 8 kB / 0.6951 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.1503, allocations: 4 kB / 0.6951 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1507, allocations: 439.4 kB / 0.6956 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.1516, allocations: 0.996 MB / 0.6965 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1519, allocations: 166 kB / 0.6967 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.152, allocations: 62.19 kB / 0.6968 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.1531, allocations: 1.825 MB / 0.6985 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1532, allocations: 42.55 kB / 0.6986 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.1532, allocations: 0 / 0.6986 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002765/0.1534, allocations: 143.5 kB / 0.6987 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1535, allocations: 51.41 kB / 0.6988 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1536, allocations: 172.9 kB / 0.6989 GB, free: 316 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1536, allocations: 29.7 kB / 0.699 GB, free: 280 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1537, allocations: 139.8 kB / 0.6991 GB, free: 136 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1537, allocations: 59.19 kB / 0.6991 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1538, allocations: 29.66 kB / 0.6992 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.1539, allocations: 330.8 kB / 0.6995 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.154, allocations: 35.98 kB / 0.6995 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1541, allocations: 139 kB / 0.6997 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1543, allocations: 197.5 kB / 0.6998 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1543, allocations: 0 / 0.6998 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002844/0.1546, allocations: 215 kB / 0.7 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1546, allocations: 8.469 kB / 0.7001 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1546, allocations: 8 kB / 0.7001 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1546, allocations: 7.938 kB / 0.7001 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1548, allocations: 55.91 kB / 0.7001 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1548, allocations: 4 kB / 0.7001 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1549, allocations: 35.69 kB / 0.7002 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1549, allocations: 12 kB / 0.7002 GB, free: 14.9 MB / 0.4981 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 8.935e-05/0.155, allocations: 137.6 kB / 0.7003 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1551, allocations: 11.91 kB / 0.7003 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.1554, allocations: 162.9 kB / 0.7005 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1554, allocations: 7.938 kB / 0.7005 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1554, allocations: 0 / 0.7005 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1554, allocations: 0 / 0.7005 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.1556, allocations: 217.5 kB / 0.7007 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1556, allocations: 0 / 0.7007 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.36e-05/0.1557, allocations: 27.92 kB / 0.7007 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1557, allocations: 0 / 0.7007 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1557, allocations: 8 kB / 0.7007 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1557, allocations: 3.938 kB / 0.7007 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1557, allocations: 4 kB / 0.7007 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1559, allocations: 209.3 kB / 0.7009 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.156, allocations: 112.8 kB / 0.701 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1561, allocations: 11.98 kB / 0.701 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1563, allocations: 23.92 kB / 0.7011 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.1563, allocations: 11.98 kB / 0.7011 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1563, allocations: 12 kB / 0.7011 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.267e-05/0.1564, allocations: 115.2 kB / 0.7012 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 4 kB / 0.7012 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003684/0.1568, allocations: 75.98 kB / 0.7013 GB, free: 13.68 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 (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.0005865/0.1574, allocations: 0.8253 MB / 0.7021 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1576, allocations: 121.5 kB / 0.7022 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1576, allocations: 0.9375 kB / 0.7022 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.1577, allocations: 43.92 kB / 0.7022 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1581, allocations: 63.83 kB / 0.7023 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1599, allocations: 2.124 MB / 0.7044 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1601, allocations: 0.7092 MB / 0.7051 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.1603, allocations: 53.66 kB / 0.7051 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.1604, allocations: 47.42 kB / 0.7052 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1604, allocations: 0 / 0.7052 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.1743, allocations: 4.86 MB / 0.7099 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.1745, allocations: 224 kB / 0.7101 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.893, allocations: 0 / 0.7101 GB, free: 4.543 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)