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.001403/0.001403, allocations: 108 kB / 15.6 MB, free: 132 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.001728/0.001728, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.375 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 1.04/1.04, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5143 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1428, allocations: 82.05 MB / 0.5944 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00622/0.1491, allocations: 4.005 MB / 0.5983 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002464/0.1494, allocations: 163.5 kB / 0.5984 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.1494, allocations: 0 / 0.5984 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.859e-05/0.1495, allocations: 3.938 kB / 0.5985 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.1497, allocations: 15.91 kB / 0.5985 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.1501, allocations: 71.75 kB / 0.5985 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.1502, allocations: 39.86 kB / 0.5986 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1502, allocations: 0 / 0.5986 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.1503, allocations: 23.92 kB / 0.5986 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.1504, allocations: 7.984 kB / 0.5986 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1504, allocations: 3.938 kB / 0.5986 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1506, allocations: 67.8 kB / 0.5987 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.1507, allocations: 0 / 0.5987 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1507, allocations: 15.92 kB / 0.5987 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1508, allocations: 32.25 kB / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1508, allocations: 0 / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1508, allocations: 4 kB / 0.5987 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1509, allocations: 4 kB / 0.5987 GB, free: 4.961 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.0003515/0.1512, allocations: 339.4 kB / 0.5991 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1513, allocations: 11.97 kB / 0.5991 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.1513, allocations: 34.69 kB / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.1513, allocations: 4.938 kB / 0.5991 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1515, allocations: 160.4 kB / 0.5993 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.1515, allocations: 30.27 kB / 0.5993 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1515, allocations: 12.12 kB / 0.5993 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1517, allocations: 41.67 kB / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1517, allocations: 0 / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1517, allocations: 0 / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1517, allocations: 0 / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1518, allocations: 23.92 kB / 0.5994 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1522, allocations: 334 kB / 0.5997 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.684e-05/0.1522, allocations: 22.58 kB / 0.5997 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.1522, allocations: 4.859 kB / 0.5997 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.211e-05/0.1523, allocations: 85.17 kB / 0.5998 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1524, allocations: 30.56 kB / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1524, allocations: 0 / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.1525, allocations: 45.53 kB / 0.5999 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1525, allocations: 55.41 kB / 0.5999 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.1526, allocations: 106 kB / 0.6 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1526, allocations: 25.7 kB / 0.6 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1527, allocations: 92.06 kB / 0.6001 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.1527, allocations: 3.906 kB / 0.6001 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1527, allocations: 17.72 kB / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.1528, allocations: 314.8 kB / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.1529, allocations: 7.984 kB / 0.6004 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.1529, allocations: 17.91 kB / 0.6005 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.1529, allocations: 21.66 kB / 0.6005 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1529, allocations: 0 / 0.6005 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.077e-05/0.153, allocations: 45.69 kB / 0.6005 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.153, allocations: 8 kB / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.153, allocations: 96 / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1531, allocations: 3.984 kB / 0.6005 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.1531, allocations: 19.92 kB / 0.6006 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1531, allocations: 4 kB / 0.6006 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1532, allocations: 0 / 0.6006 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1532, allocations: 3.938 kB / 0.6006 GB, free: 2.789 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 6.315e-05/0.1532, allocations: 117.8 kB / 0.6007 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1533, allocations: 3.906 kB / 0.6007 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1534, allocations: 117 kB / 0.6008 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.1534, allocations: 188.2 kB / 0.601 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.576e-05/0.1535, allocations: 176.3 kB / 0.6011 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.021e-05/0.1535, allocations: 188.2 kB / 0.6013 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1537, allocations: 401.2 kB / 0.6017 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.1538, allocations: 105 kB / 0.6018 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1538, allocations: 108.9 kB / 0.6019 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.228e-05/0.1539, allocations: 184.2 kB / 0.6021 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.1539, allocations: 180.2 kB / 0.6023 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.888e-05/0.154, allocations: 180.3 kB / 0.6024 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-05/0.154, allocations: 176.3 kB / 0.6026 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1542, allocations: 315.7 kB / 0.6029 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1542, allocations: 182 kB / 0.6031 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2703/0.4245, allocations: 178.2 kB / 0.6032 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.4247, allocations: 104.8 kB / 0.6033 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4248, allocations: 184.9 kB / 0.6035 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4248, allocations: 110.5 kB / 0.6036 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.4249, allocations: 86.3 kB / 0.6037 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4249, allocations: 0 / 0.6037 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003506/0.4252, allocations: 16.53 kB / 0.6037 GB, free: 44.18 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.0004098/0.4256, allocations: 0.8366 MB / 0.6045 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.441e-05/0.4257, allocations: 9.562 kB / 0.6045 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4257, allocations: 0 / 0.6045 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4257, allocations: 0 / 0.6045 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4261, allocations: 463.3 kB / 0.605 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.4268, allocations: 1.315 MB / 0.6063 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.427, allocations: 0.6763 MB / 0.6069 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.427, allocations: 6.312 kB / 0.6069 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.427, allocations: 14.44 kB / 0.607 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.427, allocations: 0.625 kB / 0.607 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5818/1.009, allocations: 1.508 MB / 0.6084 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.951, allocations: 10.31 kB / 0.6084 GB, free: 40.68 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)