Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 148 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.001198/0.001198, allocations: 196.3 kB / 16.53 MB, free: 6.656 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002442, allocations: 297 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 95.2 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1487, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002617/0.1514, allocations: 1.259 MB / 0.6948 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.1551, allocations: 2.928 MB / 0.6977 GB, free: 28 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1552, allocations: 0 / 0.6977 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.1552, allocations: 3.938 kB / 0.6977 GB, free: 24 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.1553, allocations: 3.984 kB / 0.6977 GB, free: 20 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1557, allocations: 99.55 kB / 0.6978 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1558, allocations: 43.84 kB / 0.6978 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.1558, allocations: 0 / 0.6978 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.1562, allocations: 159.5 kB / 0.698 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.1563, allocations: 19.92 kB / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1563, allocations: 0 / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1565, allocations: 59.89 kB / 0.6981 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1565, allocations: 15.97 kB / 0.6981 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1565, allocations: 15.94 kB / 0.6981 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1567, allocations: 76 kB / 0.6982 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1567, allocations: 0 / 0.6982 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1567, allocations: 0 / 0.6982 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1567, allocations: 0 / 0.6982 GB, free: 15.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004173/0.1572, allocations: 347.4 kB / 0.6985 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1572, allocations: 8.031 kB / 0.6985 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1573, allocations: 38.73 kB / 0.6985 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1573, allocations: 4.938 kB / 0.6985 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1574, allocations: 164.4 kB / 0.6987 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1574, allocations: 4.375 kB / 0.6987 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1575, allocations: 4.375 kB / 0.6987 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1576, allocations: 57.61 kB / 0.6988 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1576, allocations: 3.938 kB / 0.6988 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1576, allocations: 3.984 kB / 0.6988 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1577, allocations: 4 kB / 0.6988 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.1577, allocations: 15.98 kB / 0.6988 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1579, allocations: 169.6 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.158, allocations: 54.62 kB / 0.699 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.158, allocations: 16.84 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.1588, allocations: 0.5907 MB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1588, allocations: 34.56 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1588, allocations: 4 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005656/0.1594, allocations: 298.5 kB / 0.6999 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1594, allocations: 51.64 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.1595, allocations: 109.7 kB / 0.7001 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1595, allocations: 25.7 kB / 0.7001 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1596, allocations: 92.03 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1596, allocations: 27.64 kB / 0.7002 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1597, allocations: 25.72 kB / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1598, allocations: 322.8 kB / 0.7005 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.1598, allocations: 8.062 kB / 0.7005 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.1599, allocations: 65.02 kB / 0.7006 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.19e-05/0.16, allocations: 73.08 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.16, allocations: 0 / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001492/0.1601, allocations: 97.47 kB / 0.7008 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1602, allocations: 7.984 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1602, allocations: 4.125 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1602, allocations: 4 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.1603, allocations: 16 kB / 0.7008 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1603, allocations: 7.938 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.1603, allocations: 3.938 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1603, allocations: 4 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.384e-05/0.1604, allocations: 117.8 kB / 0.7009 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1605, allocations: 0 / 0.7009 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1605, allocations: 11.97 kB / 0.7009 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1605, allocations: 8.219 kB / 0.7009 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1605, allocations: 0 / 0.7009 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1605, allocations: 3.938 kB / 0.7009 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1608, allocations: 177.6 kB / 0.7011 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1608, allocations: 0 / 0.7011 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.515e-05/0.1609, allocations: 15.98 kB / 0.7011 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1609, allocations: 4 kB / 0.7011 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1609, allocations: 0 / 0.7011 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1609, allocations: 7.953 kB / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1609, allocations: 3.984 kB / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.1611, allocations: 179.4 kB / 0.7013 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1612, allocations: 81.11 kB / 0.7014 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1612, allocations: 4 kB / 0.7014 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1613, allocations: 4 kB / 0.7014 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1613, allocations: 7.922 kB / 0.7014 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1613, allocations: 4 kB / 0.7014 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.1614, allocations: 83.28 kB / 0.7015 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1614, allocations: 4 kB / 0.7015 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000244/0.1616, allocations: 8 kB / 0.7015 GB, free: 11.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0004656/0.1621, allocations: 0.7085 MB / 0.7022 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.1622, allocations: 48.14 kB / 0.7022 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1622, allocations: 4.062 kB / 0.7022 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.1623, allocations: 19.92 kB / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1625, allocations: 12.69 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.164, allocations: 1.516 MB / 0.7038 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1643, allocations: 0.6813 MB / 0.7044 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.624e-05/0.1644, allocations: 15.97 kB / 0.7044 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1644, allocations: 15.44 kB / 0.7045 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1644, allocations: 0 / 0.7045 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1884, allocations: 1.66 MB / 0.7061 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.481, allocations: 10.86 kB / 0.7061 GB, free: 6.863 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)