Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 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.001474/0.001474, allocations: 194.9 kB / 16.53 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 282.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002694, allocations: 101.3 kB / 0.6065 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.143, allocations: 89.14 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002587/0.1456, allocations: 1.381 MB / 0.6949 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.1495, allocations: 2.915 MB / 0.6978 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.1496, allocations: 0 / 0.6978 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.1497, allocations: 7.922 kB / 0.6978 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1498, allocations: 43.81 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.1505, allocations: 187.1 kB / 0.698 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.1508, allocations: 243.5 kB / 0.6982 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.1509, allocations: 7.797 kB / 0.6982 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.151, allocations: 91.83 kB / 0.6983 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1511, allocations: 123.7 kB / 0.6985 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.1512, allocations: 12 kB / 0.6985 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1515, allocations: 143.8 kB / 0.6986 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1516, allocations: 95.75 kB / 0.6987 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1518, allocations: 95.52 kB / 0.6988 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1521, allocations: 267.3 kB / 0.699 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1521, allocations: 0 / 0.699 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1522, allocations: 0 / 0.699 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1522, allocations: 0 / 0.699 GB, free: 14.65 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008354/0.153, allocations: 0.5337 MB / 0.6996 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.153, allocations: 8.031 kB / 0.6996 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.1531, allocations: 54.73 kB / 0.6996 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1532, allocations: 20.73 kB / 0.6996 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1535, allocations: 228.1 kB / 0.6999 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.1535, allocations: 24.36 kB / 0.6999 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1536, allocations: 16.38 kB / 0.6999 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.1542, allocations: 293.7 kB / 0.7002 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1543, allocations: 0 / 0.7002 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1543, allocations: 8 kB / 0.7002 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1543, allocations: 4 kB / 0.7002 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.1558, allocations: 0.7527 MB / 0.7009 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1562, allocations: 305.2 kB / 0.7012 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1579, allocations: 0.6832 MB / 0.7019 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.1585, allocations: 232.7 kB / 0.7021 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.1589, allocations: 388.3 kB / 0.7025 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.159, allocations: 35.5 kB / 0.7025 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.159, allocations: 4 kB / 0.7025 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001707/0.1607, allocations: 0.6536 MB / 0.7032 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1607, allocations: 55.41 kB / 0.7032 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.1608, allocations: 122.1 kB / 0.7033 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1609, allocations: 29.7 kB / 0.7033 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1609, allocations: 96.78 kB / 0.7034 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.161, allocations: 122.2 kB / 0.7036 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1612, allocations: 69.61 kB / 0.7036 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1613, allocations: 330.8 kB / 0.7039 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.1618, allocations: 195.8 kB / 0.7041 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.1623, allocations: 203.6 kB / 0.7043 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.1633, allocations: 360.9 kB / 0.7047 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1633, allocations: 0 / 0.7047 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001136/0.1644, allocations: 464.5 kB / 0.7051 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1644, allocations: 8 kB / 0.7051 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1645, allocations: 0 / 0.7051 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1645, allocations: 3.984 kB / 0.7051 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1648, allocations: 95.86 kB / 0.7052 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1649, allocations: 7.938 kB / 0.7052 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1651, allocations: 47.8 kB / 0.7053 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1651, allocations: 19.98 kB / 0.7053 GB, free: 7.945 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.0001293/0.1652, allocations: 137.8 kB / 0.7054 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.1653, allocations: 19.75 kB / 0.7054 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.1665, allocations: 0.5215 MB / 0.7059 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1665, allocations: 4 kB / 0.7059 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1665, allocations: 0 / 0.7059 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1666, allocations: 3.984 kB / 0.7059 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.1669, allocations: 317.3 kB / 0.7063 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1669, allocations: 3.938 kB / 0.7063 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.1673, allocations: 91.86 kB / 0.7063 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1673, allocations: 0 / 0.7063 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1673, allocations: 11.98 kB / 0.7064 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1673, allocations: 4 kB / 0.7064 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1673, allocations: 0 / 0.7064 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1685, allocations: 0.4928 MB / 0.7068 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.1686, allocations: 100.8 kB / 0.7069 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1686, allocations: 8 kB / 0.7069 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1688, allocations: 35.95 kB / 0.707 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.169, allocations: 119.8 kB / 0.7071 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.169, allocations: 12 kB / 0.7071 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.1691, allocations: 99.25 kB / 0.7072 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1691, allocations: 4 kB / 0.7072 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004924/0.1696, allocations: 115.9 kB / 0.7073 GB, free: 5.77 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 (37): * Single equations (assignments): 37 * 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.001665/0.1713, allocations: 1.121 MB / 0.7084 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.1726, allocations: 0.5578 MB / 0.709 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1726, allocations: 4 kB / 0.709 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.1732, allocations: 259.5 kB / 0.7092 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1736, allocations: 75.92 kB / 0.7093 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.1779, allocations: 2.653 MB / 0.7119 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1783, allocations: 0.7289 MB / 0.7126 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.1787, allocations: 195.2 kB / 0.7128 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1788, allocations: 59.41 kB / 0.7128 GB, free: 20 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1788, allocations: 7.938 kB / 0.7128 GB, free: 12 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.2071, allocations: 7.385 MB / 0.72 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.667, allocations: 17.44 kB / 0.7201 GB, free: 8.801 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)