Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001154/0.001154, 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.001204/0.001204, allocations: 196.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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 0.983/0.983, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 71.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1615, allocations: 82.02 MB / 0.5944 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.007912/0.1694, allocations: 4.426 MB / 0.5987 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.1728, allocations: 2.695 MB / 0.6013 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1729, allocations: 0 / 0.6013 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1733, allocations: 51.66 kB / 0.6014 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.1737, allocations: 91.38 kB / 0.6015 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1751, allocations: 0.491 MB / 0.6019 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.1755, allocations: 235.9 kB / 0.6022 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.1755, allocations: 9.562 kB / 0.6022 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1768, allocations: 414.8 kB / 0.6026 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.177, allocations: 91.64 kB / 0.6027 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.1771, allocations: 8 kB / 0.6027 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1783, allocations: 495.3 kB / 0.6031 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1784, allocations: 43.83 kB / 0.6032 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1785, allocations: 75.66 kB / 0.6032 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.1794, allocations: 351.1 kB / 0.6036 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1794, allocations: 0 / 0.6036 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1794, allocations: 3.938 kB / 0.6036 GB, free: 64 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.1794, allocations: 4 kB / 0.6036 GB, free: 60 kB / 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.2996/0.479, allocations: 499.5 kB / 0.6041 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4791, allocations: 10.06 kB / 0.6041 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.4792, allocations: 52.31 kB / 0.6041 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.4794, allocations: 24.83 kB / 0.6041 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4796, allocations: 206.2 kB / 0.6043 GB, free: 44.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4796, allocations: 15.17 kB / 0.6044 GB, free: 44.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4797, allocations: 14.84 kB / 0.6044 GB, free: 44.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.48, allocations: 250 kB / 0.6046 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.48, allocations: 3.938 kB / 0.6046 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.4801, allocations: 8.828 kB / 0.6046 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.4801, allocations: 12.36 kB / 0.6046 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.4805, allocations: 431.7 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.4813, allocations: 1.005 MB / 0.606 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.4816, allocations: 162.7 kB / 0.6062 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.4817, allocations: 63.69 kB / 0.6062 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009194/0.4826, allocations: 1.825 MB / 0.608 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4826, allocations: 37.12 kB / 0.6081 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.4827, allocations: 3.5 kB / 0.6081 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002947/0.483, allocations: 146.3 kB / 0.6082 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.483, allocations: 54.38 kB / 0.6083 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4831, allocations: 174.8 kB / 0.6084 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4831, allocations: 31.48 kB / 0.6085 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.4832, allocations: 138.6 kB / 0.6086 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4832, allocations: 54.7 kB / 0.6086 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.4833, allocations: 51.02 kB / 0.6087 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.4833, allocations: 326.8 kB / 0.609 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.4834, allocations: 34.69 kB / 0.609 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.4835, allocations: 145.9 kB / 0.6092 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4837, allocations: 200.1 kB / 0.6094 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4837, allocations: 0 / 0.6094 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002733/0.484, allocations: 219.8 kB / 0.6096 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.484, allocations: 8.031 kB / 0.6096 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.484, allocations: 3.219 kB / 0.6096 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.484, allocations: 9.844 kB / 0.6096 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4842, allocations: 56.48 kB / 0.6096 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.4842, allocations: 9.75 kB / 0.6097 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4843, allocations: 24.06 kB / 0.6097 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4843, allocations: 13.27 kB / 0.6097 GB, free: 40.46 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 7.669e-05/0.4844, allocations: 140 kB / 0.6098 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.4845, allocations: 16.41 kB / 0.6098 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4847, allocations: 157.1 kB / 0.61 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4848, allocations: 6.969 kB / 0.61 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4848, allocations: 3.938 kB / 0.61 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4848, allocations: 3.984 kB / 0.61 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.485, allocations: 213.2 kB / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.485, allocations: 0 / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.4851, allocations: 29.55 kB / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4851, allocations: 0 / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4851, allocations: 2.844 kB / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4851, allocations: 1.672 kB / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4851, allocations: 3.938 kB / 0.6102 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4853, allocations: 226.8 kB / 0.6105 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.4854, allocations: 111.4 kB / 0.6106 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4854, allocations: 3.5 kB / 0.6106 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4856, allocations: 18.67 kB / 0.6106 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.4856, allocations: 16.64 kB / 0.6106 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4856, allocations: 7.047 kB / 0.6106 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.4857, allocations: 126.4 kB / 0.6107 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4857, allocations: 3.828 kB / 0.6107 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003862/0.4861, allocations: 75.84 kB / 0.6108 GB, free: 39.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 (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.0005724/0.4867, allocations: 0.8359 MB / 0.6116 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4869, allocations: 129.3 kB / 0.6117 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.4869, allocations: 0 / 0.6117 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.487, allocations: 42.59 kB / 0.6118 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4874, allocations: 60.08 kB / 0.6118 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.489, allocations: 2.031 MB / 0.6138 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.4891, allocations: 0.717 MB / 0.6145 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.4893, allocations: 52.05 kB / 0.6146 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.4894, allocations: 48.58 kB / 0.6146 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.4894, allocations: 0 / 0.6146 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4979/0.9872, allocations: 5.234 MB / 0.6197 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.14, allocations: 3.75 kB / 0.6197 GB, free: 36.25 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)