Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.0006724/0.0006724, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.003795/0.003795, allocations: 170 kB / 16.26 MB, free: 6.613 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.9349/0.9349, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 11.98 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 83.4 MB / 0.5979 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003669/0.1385, allocations: 3.422 MB / 0.6013 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.1387, allocations: 147.6 kB / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.226e-05/0.1387, allocations: 0 / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.1388, allocations: 3.984 kB / 0.6014 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.1388, allocations: 15.88 kB / 0.6014 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1391, allocations: 83.69 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.1392, allocations: 59.81 kB / 0.6016 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.1392, allocations: 4 kB / 0.6016 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.1393, allocations: 11.98 kB / 0.6016 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.1393, allocations: 11.98 kB / 0.6016 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1393, allocations: 3.938 kB / 0.6016 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.1398, allocations: 207.4 kB / 0.6018 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.1399, allocations: 3.984 kB / 0.6018 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1399, allocations: 33.7 kB / 0.6018 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.14, allocations: 48.11 kB / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.14, allocations: 0 / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.14, allocations: 0 / 0.6019 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.14, allocations: 0 / 0.6019 GB, free: 3.512 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002718/0.1403, allocations: 327.6 kB / 0.6022 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1403, allocations: 8.031 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.1404, allocations: 38.75 kB / 0.6022 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.1404, allocations: 0.9375 kB / 0.6023 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.233e-05/0.1405, allocations: 164.4 kB / 0.6024 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.1405, allocations: 34.2 kB / 0.6024 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.1406, allocations: 8.062 kB / 0.6024 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1407, allocations: 41.69 kB / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.1407, allocations: 0 / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1407, allocations: 0 / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1407, allocations: 4 kB / 0.6025 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.1408, allocations: 19.98 kB / 0.6025 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1411, allocations: 341.9 kB / 0.6028 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.84e-05/0.1412, allocations: 18.52 kB / 0.6029 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.1412, allocations: 8.922 kB / 0.6029 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.1412, allocations: 89.08 kB / 0.6029 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1413, allocations: 34.56 kB / 0.603 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1413, allocations: 0 / 0.603 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.1414, allocations: 37.7 kB / 0.603 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1414, allocations: 55.34 kB / 0.6031 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.1415, allocations: 105.8 kB / 0.6032 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1415, allocations: 29.7 kB / 0.6032 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.1416, allocations: 84.05 kB / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-06/0.1416, allocations: 0 / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.1416, allocations: 13.84 kB / 0.6033 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.1417, allocations: 326.8 kB / 0.6036 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.1417, allocations: 0 / 0.6036 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.1417, allocations: 13.72 kB / 0.6036 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.1418, allocations: 21.72 kB / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1418, allocations: 0 / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.579e-05/0.1418, allocations: 53.62 kB / 0.6037 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1418, allocations: 4 kB / 0.6037 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1419, allocations: 4 kB / 0.6037 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.1419, allocations: 0 / 0.6037 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.799e-05/0.1419, allocations: 7.984 kB / 0.6037 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1419, allocations: 0 / 0.6037 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.1419, allocations: 7.906 kB / 0.6037 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.142, allocations: 0 / 0.6037 GB, free: 1.363 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.916e-05/0.142, allocations: 113.8 kB / 0.6038 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.142, allocations: 8 kB / 0.6038 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.659e-05/0.1421, allocations: 124.2 kB / 0.6039 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/0.1422, allocations: 180.5 kB / 0.6041 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-05/0.1422, allocations: 180.3 kB / 0.6043 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/0.1423, allocations: 176.3 kB / 0.6045 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1425, allocations: 417.1 kB / 0.6049 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.2449/0.3874, allocations: 105 kB / 0.605 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.3874, allocations: 106.4 kB / 0.6051 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-05/0.3875, allocations: 178.3 kB / 0.6052 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3875, allocations: 181.2 kB / 0.6054 GB, free: 41.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/0.3875, allocations: 188.1 kB / 0.6056 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-05/0.3876, allocations: 180.7 kB / 0.6058 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.895e-05/0.3877, allocations: 307.9 kB / 0.606 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3877, allocations: 184 kB / 0.6062 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3877, allocations: 184.8 kB / 0.6064 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3879, allocations: 107 kB / 0.6065 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3879, allocations: 183.2 kB / 0.6067 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3879, allocations: 108.9 kB / 0.6068 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.388, allocations: 91.03 kB / 0.6069 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.388, allocations: 0 / 0.6069 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002529/0.3883, allocations: 13.95 kB / 0.6069 GB, free: 39.59 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 (0): * Single equations (assignments): 0 * 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.0002964/0.3886, allocations: 0.8263 MB / 0.6077 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.3886, allocations: 14.75 kB / 0.6077 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3886, allocations: 0 / 0.6077 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-06/0.3886, allocations: 4.719 kB / 0.6077 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3889, allocations: 0.5267 MB / 0.6082 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.3896, allocations: 1.33 MB / 0.6095 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.3897, allocations: 0.6728 MB / 0.6102 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.3897, allocations: 11.83 kB / 0.6102 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.3898, allocations: 9.219 kB / 0.6102 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.3898, allocations: 0 / 0.6102 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7394/1.129, allocations: 1.342 MB / 0.6115 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.129, allocations: 242.3 kB / 0.6117 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.997, allocations: 2.109 kB / 0.6117 GB, free: 35.95 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)