Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.8767/0.8767, allocations: 143.1 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.89 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 82.05 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004474/0.1344, allocations: 4.052 MB / 0.5979 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.1346, allocations: 151.5 kB / 0.598 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.1346, allocations: 0 / 0.598 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.209e-05/0.1347, allocations: 0 / 0.598 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.1348, allocations: 19.91 kB / 0.598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1351, allocations: 77.39 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.1351, allocations: 27.92 kB / 0.5981 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.71e-05/0.1352, allocations: 4 kB / 0.5981 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.1352, allocations: 27.78 kB / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.1352, allocations: 8 kB / 0.5982 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1353, allocations: 0 / 0.5982 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1354, allocations: 67.8 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.1355, allocations: 3.984 kB / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1355, allocations: 15.94 kB / 0.5982 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.1356, allocations: 44.23 kB / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1356, allocations: 0 / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1356, allocations: 0 / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1356, allocations: 0 / 0.5983 GB, free: 5.293 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.0002938/0.1359, allocations: 343.3 kB / 0.5986 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1359, allocations: 8.031 kB / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.136, allocations: 34.75 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.136, allocations: 4.938 kB / 0.5987 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.1361, allocations: 164.3 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1361, allocations: 30.27 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.1362, allocations: 4.125 kB / 0.5988 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1363, allocations: 49.66 kB / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1363, allocations: 0 / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1363, allocations: 0 / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1363, allocations: 4 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.1364, allocations: 11.98 kB / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1367, allocations: 334 kB / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.274e-05/0.1367, allocations: 26.55 kB / 0.5992 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1368, allocations: 8.922 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.1368, allocations: 85.09 kB / 0.5993 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1369, allocations: 30.56 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1369, allocations: 4 kB / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.137, allocations: 41.59 kB / 0.5994 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.137, allocations: 55.34 kB / 0.5995 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.1371, allocations: 97.86 kB / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1371, allocations: 29.7 kB / 0.5996 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.1371, allocations: 92.06 kB / 0.5997 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.1371, allocations: 3.906 kB / 0.5997 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.1372, allocations: 13.72 kB / 0.5997 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.1373, allocations: 322.9 kB / 0.6 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.1373, allocations: 7.984 kB / 0.6 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.1373, allocations: 13.72 kB / 0.6 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.1373, allocations: 25.72 kB / 0.6 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1373, allocations: 0 / 0.6 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.847e-05/0.1374, allocations: 53.62 kB / 0.6001 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.1374, allocations: 4 kB / 0.6001 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.1374, allocations: 3.938 kB / 0.6001 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1375, allocations: 4 kB / 0.6001 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.1375, allocations: 4 kB / 0.6001 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1375, allocations: 11.91 kB / 0.6001 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.1375, allocations: 0 / 0.6001 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1375, allocations: 4 kB / 0.6001 GB, free: 3.117 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.482e-05/0.1376, allocations: 113.7 kB / 0.6002 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1376, allocations: 11.97 kB / 0.6002 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.1377, allocations: 117 kB / 0.6004 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.1378, allocations: 184.2 kB / 0.6005 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-05/0.1378, allocations: 180.3 kB / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-05/0.1379, allocations: 176.3 kB / 0.6009 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.138, allocations: 417.1 kB / 0.6013 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/0.1381, allocations: 101 kB / 0.6014 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.1381, allocations: 104.9 kB / 0.6015 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.454e-05/0.1381, allocations: 184.2 kB / 0.6016 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.1382, allocations: 180.3 kB / 0.6018 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.626e-05/0.1382, allocations: 184.2 kB / 0.602 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.24e-05/0.1383, allocations: 180.3 kB / 0.6022 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.635e-05/0.1384, allocations: 307.7 kB / 0.6025 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1384, allocations: 186.1 kB / 0.6026 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.1385, allocations: 180.2 kB / 0.6028 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1386, allocations: 117 kB / 0.6029 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2091/0.3478, allocations: 177.4 kB / 0.6031 GB, free: 44.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3478, allocations: 102.1 kB / 0.6032 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.3479, allocations: 82.78 kB / 0.6033 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3479, allocations: 1.219 kB / 0.6033 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002515/0.3481, allocations: 18.22 kB / 0.6033 GB, free: 44.63 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.0003439/0.3485, allocations: 0.8277 MB / 0.6041 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.989e-05/0.3486, allocations: 10.27 kB / 0.6041 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3486, allocations: 1.125 kB / 0.6041 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.3486, allocations: 2.75 kB / 0.6041 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3489, allocations: 463.3 kB / 0.6045 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.3496, allocations: 1.317 MB / 0.6058 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.887e-05/0.3497, allocations: 0.6755 MB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3498, allocations: 7.453 kB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.3498, allocations: 12 kB / 0.6065 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3498, allocations: 2.844 kB / 0.6065 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2294/0.5792, allocations: 1.43 MB / 0.6079 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001145/0.5793, allocations: 220.2 kB / 0.6081 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.34, allocations: 0 / 0.6081 GB, free: 40.99 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)