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.001246/0.001246, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 287 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 99.53 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1591, allocations: 89.15 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006194/0.1653, allocations: 4.425 MB / 0.6979 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1683, allocations: 2.683 MB / 0.7005 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.1684, allocations: 0 / 0.7005 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1687, allocations: 43.69 kB / 0.7006 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.169, allocations: 103.3 kB / 0.7007 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1701, allocations: 488.9 kB / 0.7011 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1703, allocations: 239.9 kB / 0.7014 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.1704, allocations: 17.55 kB / 0.7014 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.1713, allocations: 425.4 kB / 0.7018 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1714, allocations: 83.67 kB / 0.7019 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1714, allocations: 11.94 kB / 0.7019 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009242/0.1724, allocations: 491.1 kB / 0.7023 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.1725, allocations: 35.89 kB / 0.7024 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.1726, allocations: 83.64 kB / 0.7025 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.1731, allocations: 343.1 kB / 0.7028 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1731, allocations: 0 / 0.7028 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1731, allocations: 0 / 0.7028 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1731, allocations: 0 / 0.7028 GB, free: 10.76 MB / 0.4981 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.0007228/0.1739, allocations: 0.5031 MB / 0.7033 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1739, allocations: 8.031 kB / 0.7033 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.174, allocations: 50.73 kB / 0.7033 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1741, allocations: 28.77 kB / 0.7034 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1744, allocations: 216 kB / 0.7036 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1744, allocations: 8.703 kB / 0.7036 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1744, allocations: 20.38 kB / 0.7036 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1748, allocations: 244.9 kB / 0.7038 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1748, allocations: 0 / 0.7038 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.1748, allocations: 12 kB / 0.7038 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.1749, allocations: 11.98 kB / 0.7039 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.1754, allocations: 427.5 kB / 0.7043 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1765, allocations: 1.008 MB / 0.7052 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1768, allocations: 157.3 kB / 0.7054 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1769, allocations: 60.84 kB / 0.7055 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.1783, allocations: 1.825 MB / 0.7072 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1784, allocations: 42.5 kB / 0.7073 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1784, allocations: 0 / 0.7073 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003334/0.1787, allocations: 141.4 kB / 0.7074 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1788, allocations: 55.41 kB / 0.7075 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1789, allocations: 173.8 kB / 0.7076 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.179, allocations: 37.7 kB / 0.7077 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.1791, allocations: 135.8 kB / 0.7078 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.1791, allocations: 55.19 kB / 0.7078 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.1792, allocations: 49.7 kB / 0.7079 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1793, allocations: 330.8 kB / 0.7082 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.1794, allocations: 31.98 kB / 0.7082 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1795, allocations: 138.9 kB / 0.7084 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1798, allocations: 202.9 kB / 0.7086 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1798, allocations: 0 / 0.7086 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003329/0.1801, allocations: 217.9 kB / 0.7088 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1802, allocations: 4 kB / 0.7088 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1802, allocations: 4 kB / 0.7088 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.1802, allocations: 19.88 kB / 0.7088 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1804, allocations: 59.84 kB / 0.7089 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1804, allocations: 7.984 kB / 0.7089 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1805, allocations: 24.22 kB / 0.7089 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.1805, allocations: 20 kB / 0.7089 GB, free: 3.738 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 0.0001082/0.1807, allocations: 131 kB / 0.709 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.1807, allocations: 19.8 kB / 0.7091 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.181, allocations: 160.5 kB / 0.7092 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.181, allocations: 3.938 kB / 0.7092 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.181, allocations: 0 / 0.7092 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1811, allocations: 0 / 0.7092 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1813, allocations: 225.4 kB / 0.7094 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1813, allocations: 4 kB / 0.7094 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.1814, allocations: 19.98 kB / 0.7094 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1814, allocations: 4 kB / 0.7095 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1814, allocations: 4 kB / 0.7095 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1814, allocations: 3.938 kB / 0.7095 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1815, allocations: 0 / 0.7095 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1817, allocations: 215.4 kB / 0.7097 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.1818, allocations: 108.8 kB / 0.7098 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1818, allocations: 7.984 kB / 0.7098 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.182, allocations: 19.92 kB / 0.7098 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1821, allocations: 7.984 kB / 0.7098 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1821, allocations: 12 kB / 0.7098 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.621e-05/0.1822, allocations: 121.1 kB / 0.7099 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1822, allocations: 0 / 0.7099 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003709/0.1826, allocations: 71.98 kB / 0.71 GB, free: 2.531 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.0007201/0.1833, allocations: 0.8348 MB / 0.7108 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1836, allocations: 130.5 kB / 0.7109 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1836, allocations: 0 / 0.7109 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.1837, allocations: 47.91 kB / 0.711 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1841, allocations: 57.25 kB / 0.711 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.1863, allocations: 2.042 MB / 0.713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1866, allocations: 0.7128 MB / 0.7137 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.1868, allocations: 49.67 kB / 0.7138 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1869, allocations: 47.42 kB / 0.7138 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1869, allocations: 0 / 0.7138 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.2135, allocations: 5.148 MB / 0.7188 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.603, allocations: 14.59 kB / 0.7189 GB, free: 9.379 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)