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.005113/0.005113, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001144/0.001144, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.023/1.023, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 63.89 kB / 0.595 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4514, allocations: 82.03 MB / 0.6751 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002221/0.4537, allocations: 1.261 MB / 0.6764 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.4577, allocations: 2.932 MB / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.4577, allocations: 0 / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.4578, allocations: 1.062 kB / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.4579, allocations: 7.922 kB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.4585, allocations: 100.7 kB / 0.6793 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.4586, allocations: 41.77 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.4587, allocations: 2.281 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.4593, allocations: 157.7 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.4594, allocations: 18.91 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.4594, allocations: 1.188 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.4596, allocations: 65.28 kB / 0.6796 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.4596, allocations: 10.2 kB / 0.6796 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.4597, allocations: 14.45 kB / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4599, allocations: 66.11 kB / 0.6797 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4599, allocations: 1.281 kB / 0.6797 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4599, allocations: 0 / 0.6797 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4599, allocations: 0 / 0.6797 GB, free: 13.47 MB / 0.5137 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.0005891/0.4605, allocations: 356.4 kB / 0.68 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4606, allocations: 9.062 kB / 0.68 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.4606, allocations: 37.03 kB / 0.6801 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.4607, allocations: 3.312 kB / 0.6801 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4608, allocations: 165.4 kB / 0.6802 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4608, allocations: 2.406 kB / 0.6802 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.4609, allocations: 11.2 kB / 0.6802 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.461, allocations: 58.81 kB / 0.6803 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4611, allocations: 4 kB / 0.6803 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4611, allocations: 7.922 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4611, allocations: 1.5 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.53e-05/0.4612, allocations: 18.61 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.4614, allocations: 169.2 kB / 0.6805 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4615, allocations: 52.89 kB / 0.6805 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.4616, allocations: 19.3 kB / 0.6806 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008062/0.4624, allocations: 0.5939 MB / 0.6811 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4624, allocations: 35.86 kB / 0.6812 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4624, allocations: 0 / 0.6812 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006571/0.4631, allocations: 299.8 kB / 0.6815 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.4631, allocations: 56.44 kB / 0.6815 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.4632, allocations: 105.6 kB / 0.6816 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4632, allocations: 27.58 kB / 0.6816 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.4633, allocations: 93.09 kB / 0.6817 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.4633, allocations: 23.14 kB / 0.6818 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.4634, allocations: 25.08 kB / 0.6818 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4635, allocations: 315.7 kB / 0.6821 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.4635, allocations: 16.73 kB / 0.6821 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.4636, allocations: 48.25 kB / 0.6821 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4637, allocations: 75.3 kB / 0.6822 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4637, allocations: 4 kB / 0.6822 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.4639, allocations: 103.3 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4639, allocations: 5.406 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4639, allocations: 5 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4639, allocations: 2.594 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.464, allocations: 20.17 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.464, allocations: 3.031 kB / 0.6824 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.4641, allocations: 5 kB / 0.6824 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4641, allocations: 8.469 kB / 0.6824 GB, free: 10.63 MB / 0.5137 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 9.456e-05/0.4642, allocations: 120.5 kB / 0.6825 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.4642, allocations: 2.875 kB / 0.6825 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.4642, allocations: 9.219 kB / 0.6825 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4643, allocations: 1.281 kB / 0.6825 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4643, allocations: 0 / 0.6825 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4643, allocations: 8.359 kB / 0.6825 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.4645, allocations: 173.2 kB / 0.6827 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4645, allocations: 4.516 kB / 0.6827 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.4646, allocations: 21.44 kB / 0.6827 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4646, allocations: 5.156 kB / 0.6827 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4647, allocations: 0 / 0.6827 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4647, allocations: 1.344 kB / 0.6827 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4647, allocations: 0 / 0.6827 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.4649, allocations: 176.5 kB / 0.6829 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.4649, allocations: 87.48 kB / 0.6829 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4649, allocations: 1.875 kB / 0.683 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4651, allocations: 6.438 kB / 0.683 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.4651, allocations: 5.969 kB / 0.683 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.4651, allocations: 2.25 kB / 0.683 GB, free: 10 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.4651, allocations: 85.39 kB / 0.683 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 0 / 0.683 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002397/0.4654, allocations: 11.03 kB / 0.6831 GB, free: 9.922 MB / 0.5137 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.0004757/0.4659, allocations: 0.7125 MB / 0.6838 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.466, allocations: 43.31 kB / 0.6838 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.466, allocations: 0 / 0.6838 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.4661, allocations: 11.34 kB / 0.6838 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4663, allocations: 15.3 kB / 0.6838 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.4679, allocations: 1.53 MB / 0.6853 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4682, allocations: 0.6858 MB / 0.686 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.4682, allocations: 7.422 kB / 0.686 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.4683, allocations: 19.17 kB / 0.686 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.4683, allocations: 0 / 0.686 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.4895, allocations: 1.675 MB / 0.6876 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/8.049, allocations: 4.906 kB / 0.6876 GB, free: 6.125 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)