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.001164/0.001164, 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.001176/0.001176, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.9423/0.9423, allocations: 143 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.91 kB / 0.5138 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 82.04 MB / 0.5939 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004458/0.1433, allocations: 3.761 MB / 0.5976 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.1435, allocations: 171.4 kB / 0.5977 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.1435, allocations: 0 / 0.5977 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.551e-05/0.1436, allocations: 0 / 0.5977 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.138e-05/0.1437, allocations: 15.91 kB / 0.5977 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1439, allocations: 69.83 kB / 0.5978 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.144, allocations: 39.84 kB / 0.5978 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.144, allocations: 0 / 0.5978 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.1441, allocations: 15.98 kB / 0.5979 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1441, allocations: 23.86 kB / 0.5979 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.1441, allocations: 0 / 0.5979 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.1446, allocations: 175.5 kB / 0.5981 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.1446, allocations: 11.97 kB / 0.5981 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.1447, allocations: 8 kB / 0.5981 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1448, allocations: 60.03 kB / 0.5981 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1448, allocations: 0 / 0.5981 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1448, allocations: 4 kB / 0.5981 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1448, allocations: 0 / 0.5981 GB, free: 5.52 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.0002977/0.1451, allocations: 331.5 kB / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1451, allocations: 12.03 kB / 0.5985 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.1452, allocations: 30.75 kB / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.1452, allocations: 0.9375 kB / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.1453, allocations: 168.3 kB / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1453, allocations: 30.25 kB / 0.5987 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.1454, allocations: 8.125 kB / 0.5987 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1455, allocations: 45.69 kB / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1455, allocations: 0 / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1455, allocations: 0 / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1455, allocations: 3.938 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.1456, allocations: 15.98 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1459, allocations: 333.9 kB / 0.5991 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.146, allocations: 26.58 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.146, allocations: 8.859 kB / 0.5991 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/0.1461, allocations: 81.17 kB / 0.5992 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1461, allocations: 34.56 kB / 0.5992 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1461, allocations: 7.875 kB / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.1462, allocations: 33.69 kB / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1463, allocations: 51.41 kB / 0.5993 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.1463, allocations: 114 kB / 0.5994 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1463, allocations: 25.7 kB / 0.5994 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.1464, allocations: 88.05 kB / 0.5995 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.1464, allocations: 4 kB / 0.5995 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.1464, allocations: 13.72 kB / 0.5995 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.1465, allocations: 322.8 kB / 0.5998 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.1465, allocations: 0 / 0.5998 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.1466, allocations: 17.72 kB / 0.5999 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.1466, allocations: 25.66 kB / 0.5999 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1466, allocations: 0 / 0.5999 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.595e-05/0.1467, allocations: 53.53 kB / 0.5999 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1467, allocations: 8 kB / 0.5999 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.1467, allocations: 0 / 0.5999 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.1467, allocations: 0 / 0.5999 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1467, allocations: 12.05 kB / 0.6 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1468, allocations: 0 / 0.6 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1468, allocations: 4 kB / 0.6 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1468, allocations: 0 / 0.6 GB, free: 3.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.596e-05/0.1468, allocations: 113.8 kB / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1469, allocations: 0 / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.147, allocations: 124.9 kB / 0.6002 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.147, allocations: 180.3 kB / 0.6004 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/0.1471, allocations: 180.2 kB / 0.6005 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.904e-05/0.1471, allocations: 184.2 kB / 0.6007 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1473, allocations: 409.1 kB / 0.6011 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.1473, allocations: 108.9 kB / 0.6012 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.1474, allocations: 105 kB / 0.6013 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/0.1474, allocations: 180.4 kB / 0.6015 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.1475, allocations: 184.2 kB / 0.6016 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-05/0.1475, allocations: 184.3 kB / 0.6018 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.627e-05/0.1476, allocations: 184.2 kB / 0.602 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.1477, allocations: 311.7 kB / 0.6023 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1477, allocations: 182.1 kB / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.1478, allocations: 184.2 kB / 0.6026 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1479, allocations: 108.9 kB / 0.6027 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.148, allocations: 176.3 kB / 0.6029 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.148, allocations: 112.9 kB / 0.603 GB, free: 4 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2439/0.392, allocations: 83.05 kB / 0.6031 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.392, allocations: 1 kB / 0.6031 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003138/0.3923, allocations: 18.7 kB / 0.6031 GB, free: 44.91 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.000411/0.3927, allocations: 0.8261 MB / 0.6039 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.3928, allocations: 11.02 kB / 0.6039 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3928, allocations: 0 / 0.6039 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.3928, allocations: 1.906 kB / 0.6039 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3932, allocations: 465.8 kB / 0.6044 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.3939, allocations: 1.316 MB / 0.6057 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.394, allocations: 0.6755 MB / 0.6063 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.3941, allocations: 9.703 kB / 0.6063 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3941, allocations: 10.05 kB / 0.6063 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.3941, allocations: 0 / 0.6063 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/0.7132, allocations: 1.439 MB / 0.6078 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.7135, allocations: 247.1 kB / 0.608 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.307, allocations: 0 / 0.608 GB, free: 41.28 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)