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.001129/0.001129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001188/0.001187, allocations: 191.2 kB / 16.25 MB, free: 6.617 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.9463/0.9463, allocations: 143.1 MB / 433.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1378, allocations: 82.05 MB / 0.5939 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.004935/0.1428, allocations: 4.458 MB / 0.5982 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1451, allocations: 2.687 MB / 0.6009 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1452, allocations: 0 / 0.6009 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1454, allocations: 47.78 kB / 0.6009 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1456, allocations: 79.5 kB / 0.601 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.1465, allocations: 461.5 kB / 0.6014 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1467, allocations: 228 kB / 0.6016 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.1468, allocations: 9.562 kB / 0.6017 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007333/0.1475, allocations: 414.8 kB / 0.6021 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.821e-05/0.1476, allocations: 99.58 kB / 0.6021 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1476, allocations: 8 kB / 0.6022 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.1484, allocations: 0.4914 MB / 0.6026 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.1484, allocations: 51.7 kB / 0.6027 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.1485, allocations: 75.66 kB / 0.6028 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.1489, allocations: 359.1 kB / 0.6031 GB, free: 332 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.149, allocations: 3.938 kB / 0.6031 GB, free: 328 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.149, allocations: 0 / 0.6031 GB, free: 328 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.149, allocations: 0 / 0.6031 GB, free: 328 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.219/0.3679, allocations: 0.4899 MB / 0.6036 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.368, allocations: 7.906 kB / 0.6036 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/0.3681, allocations: 52.75 kB / 0.6036 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3683, allocations: 24.17 kB / 0.6037 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3685, allocations: 206 kB / 0.6039 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3685, allocations: 13.23 kB / 0.6039 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3685, allocations: 19.08 kB / 0.6039 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.3689, allocations: 249.4 kB / 0.6041 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3689, allocations: 8.156 kB / 0.6041 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3689, allocations: 8.406 kB / 0.6041 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.369, allocations: 5.188 kB / 0.6041 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.3694, allocations: 433 kB / 0.6046 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.3702, allocations: 1.012 MB / 0.6055 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3704, allocations: 158.5 kB / 0.6057 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.3705, allocations: 63 kB / 0.6058 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.3713, allocations: 1.825 MB / 0.6075 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3713, allocations: 41.44 kB / 0.6076 GB, free: 41.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.3713, allocations: 0 / 0.6076 GB, free: 41.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002755/0.3716, allocations: 143.7 kB / 0.6077 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.3716, allocations: 55.47 kB / 0.6078 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.3718, allocations: 171.1 kB / 0.6079 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3718, allocations: 25.7 kB / 0.608 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3718, allocations: 143.4 kB / 0.6081 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3719, allocations: 53.98 kB / 0.6081 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3719, allocations: 51.52 kB / 0.6082 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.372, allocations: 328.2 kB / 0.6085 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.372, allocations: 40.38 kB / 0.6085 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.3721, allocations: 140.3 kB / 0.6087 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3723, allocations: 196.7 kB / 0.6089 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3723, allocations: 2.812 kB / 0.6089 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002557/0.3726, allocations: 212.7 kB / 0.6091 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3726, allocations: 11.94 kB / 0.6091 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3726, allocations: 3.406 kB / 0.6091 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3726, allocations: 9.438 kB / 0.6091 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3728, allocations: 52 kB / 0.6091 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3728, allocations: 15.53 kB / 0.6092 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3729, allocations: 28.31 kB / 0.6092 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3729, allocations: 15.88 kB / 0.6092 GB, free: 40.43 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.037e-05/0.373, allocations: 128.2 kB / 0.6093 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.373, allocations: 18.77 kB / 0.6093 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3733, allocations: 162.4 kB / 0.6095 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3733, allocations: 3.672 kB / 0.6095 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3733, allocations: 3.938 kB / 0.6095 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3733, allocations: 0 / 0.6095 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3735, allocations: 219 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3735, allocations: 0 / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.3736, allocations: 28.59 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3736, allocations: 3.406 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3736, allocations: 7.531 kB / 0.6098 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3736, allocations: 2.844 kB / 0.6098 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3736, allocations: 7.875 kB / 0.6098 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.3738, allocations: 215.7 kB / 0.61 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3739, allocations: 110.4 kB / 0.6101 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3739, allocations: 0 / 0.6101 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3741, allocations: 18.47 kB / 0.6101 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.3742, allocations: 13.36 kB / 0.6101 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3742, allocations: 14.88 kB / 0.6101 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.3742, allocations: 120.9 kB / 0.6102 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 0.6102 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003516/0.3746, allocations: 81.22 kB / 0.6103 GB, free: 39.75 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.0005424/0.3751, allocations: 0.8318 MB / 0.6111 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3754, allocations: 123.4 kB / 0.6112 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3754, allocations: 3.594 kB / 0.6112 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.3754, allocations: 55.25 kB / 0.6113 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3758, allocations: 51.92 kB / 0.6113 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3774, allocations: 2.08 MB / 0.6134 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3775, allocations: 0.7161 MB / 0.6141 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.3777, allocations: 53.52 kB / 0.6141 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.3778, allocations: 43.03 kB / 0.6142 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.3778, allocations: 0 / 0.6142 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/0.5966, allocations: 5.15 MB / 0.6192 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.5968, allocations: 208.5 kB / 0.6194 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.376, allocations: 0 / 0.6194 GB, free: 36.09 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)