Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001635/0.001635, 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.001991/0.001991, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.383 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.006/1.006, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.09 kB / 0.5143 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 82.03 MB / 0.5944 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002296/0.1432, allocations: 1.266 MB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.1466, allocations: 2.942 MB / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1466, allocations: 0 / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.1466, allocations: 0 / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.1467, allocations: 3.938 kB / 0.5985 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1471, allocations: 103.5 kB / 0.5986 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.1472, allocations: 27.92 kB / 0.5986 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.1472, allocations: 4 kB / 0.5986 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.1477, allocations: 163.5 kB / 0.5988 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1477, allocations: 15.97 kB / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1478, allocations: 0 / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.1479, allocations: 71.83 kB / 0.5989 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1479, allocations: 11.92 kB / 0.5989 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.148, allocations: 11.98 kB / 0.5989 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1481, allocations: 64.08 kB / 0.5989 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1481, allocations: 0 / 0.5989 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1482, allocations: 0 / 0.5989 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1482, allocations: 0 / 0.5989 GB, free: 4.848 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.0003622/0.1485, allocations: 355.4 kB / 0.5993 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1486, allocations: 12.03 kB / 0.5993 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.1486, allocations: 34.73 kB / 0.5993 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1486, allocations: 8.938 kB / 0.5993 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.1487, allocations: 168.3 kB / 0.5995 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1488, allocations: 384 / 0.5995 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1488, allocations: 4.375 kB / 0.5995 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1489, allocations: 57.61 kB / 0.5996 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1489, allocations: 4 kB / 0.5996 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1489, allocations: 4 kB / 0.5996 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1489, allocations: 0 / 0.5996 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.149, allocations: 19.98 kB / 0.5996 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1492, allocations: 165.6 kB / 0.5997 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.1493, allocations: 50.5 kB / 0.5998 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1493, allocations: 20.84 kB / 0.5998 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000641/0.1499, allocations: 0.5949 MB / 0.6004 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.15, allocations: 30.56 kB / 0.6004 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.15, allocations: 0 / 0.6004 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000528/0.1505, allocations: 302.5 kB / 0.6007 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1506, allocations: 55.34 kB / 0.6008 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.1506, allocations: 109.8 kB / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1507, allocations: 29.7 kB / 0.6009 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1507, allocations: 88.05 kB / 0.601 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1507, allocations: 27.64 kB / 0.601 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1508, allocations: 21.72 kB / 0.601 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.1509, allocations: 318.8 kB / 0.6013 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.1509, allocations: 12 kB / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.1509, allocations: 61.14 kB / 0.6014 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.151, allocations: 73.25 kB / 0.6015 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.151, allocations: 8 kB / 0.6015 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001284/0.1512, allocations: 93.47 kB / 0.6016 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1512, allocations: 7.984 kB / 0.6016 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1512, allocations: 4 kB / 0.6016 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1512, allocations: 0 / 0.6016 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.1513, allocations: 19.94 kB / 0.6016 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1513, allocations: 4 kB / 0.6016 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.1514, allocations: 3.938 kB / 0.6016 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1514, allocations: 8 kB / 0.6016 GB, free: 1.695 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 6.668e-05/0.1514, allocations: 121.9 kB / 0.6017 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1515, allocations: 8 kB / 0.6017 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.1515, allocations: 7.969 kB / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1515, allocations: 0 / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1515, allocations: 0 / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1515, allocations: 3.938 kB / 0.6017 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1518, allocations: 173.7 kB / 0.6019 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1518, allocations: 4 kB / 0.6019 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.1519, allocations: 15.98 kB / 0.6019 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1519, allocations: 4 kB / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1519, allocations: 0 / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1519, allocations: 0 / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1519, allocations: 0 / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1521, allocations: 179.4 kB / 0.6021 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1521, allocations: 85.09 kB / 0.6022 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1521, allocations: 4 kB / 0.6022 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1522, allocations: 0 / 0.6022 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1523, allocations: 15.92 kB / 0.6022 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1523, allocations: 4 kB / 0.6022 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.1523, allocations: 79.28 kB / 0.6023 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1523, allocations: 3.938 kB / 0.6023 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.1526, allocations: 12 kB / 0.6023 GB, free: 0.8984 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.0003844/0.153, allocations: 0.7123 MB / 0.603 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1531, allocations: 47.95 kB / 0.603 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1531, allocations: 0 / 0.603 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.1531, allocations: 19.94 kB / 0.6031 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1534, allocations: 3.938 kB / 0.6031 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.213/0.3664, allocations: 1.517 MB / 0.6045 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.3665, allocations: 0.6897 MB / 0.6052 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.862e-05/0.3665, allocations: 10.44 kB / 0.6052 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.3666, allocations: 13.5 kB / 0.6052 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of SimCode: time 6.813e-06/0.3666, allocations: 3.844 kB / 0.6052 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.383, allocations: 1.656 MB / 0.6069 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.51, allocations: 11 kB / 0.6069 GB, free: 42.13 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)