Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_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.004572/0.004572, allocations: 101.4 kB / 15.88 MB, free: 6.312 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.00119/0.00119, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.28/1.28, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6748/0.6748, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 69.06 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004992/0.1334, allocations: 4.048 MB / 0.5598 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.1337, allocations: 155.5 kB / 0.5599 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1337, allocations: 4 kB / 0.5599 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.99e-05/0.1338, allocations: 0 / 0.5599 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.1339, allocations: 11.92 kB / 0.5599 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1341, allocations: 76.64 kB / 0.56 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.1342, allocations: 51.88 kB / 0.5601 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1343, allocations: 11.98 kB / 0.5601 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.1343, allocations: 19.92 kB / 0.5601 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.1344, allocations: 19.92 kB / 0.5601 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1344, allocations: 0 / 0.5601 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.1346, allocations: 67.8 kB / 0.5602 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1346, allocations: 11.97 kB / 0.5602 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.1347, allocations: 15.94 kB / 0.5602 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1348, allocations: 40.17 kB / 0.5602 GB, free: 6.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1348, allocations: 4 kB / 0.5603 GB, free: 6.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1348, allocations: 0 / 0.5603 GB, free: 6.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.1348, allocations: 0 / 0.5603 GB, free: 6.168 MB / 430.1 MB 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.0003281/0.1351, allocations: 343.4 kB / 0.5606 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1352, allocations: 11.97 kB / 0.5606 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.1352, allocations: 34.75 kB / 0.5606 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.1353, allocations: 4.938 kB / 0.5606 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.64e-05/0.1354, allocations: 164.4 kB / 0.5608 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.1354, allocations: 26.27 kB / 0.5608 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1354, allocations: 12.06 kB / 0.5608 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1355, allocations: 41.67 kB / 0.5609 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1356, allocations: 0 / 0.5609 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1356, allocations: 8 kB / 0.5609 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1356, allocations: 4 kB / 0.5609 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.1356, allocations: 11.98 kB / 0.5609 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.136, allocations: 330 kB / 0.5612 GB, free: 5.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.361e-05/0.1361, allocations: 22.55 kB / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.1361, allocations: 4.859 kB / 0.5612 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.473e-05/0.1362, allocations: 89.17 kB / 0.5613 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1362, allocations: 34.56 kB / 0.5613 GB, free: 4.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1362, allocations: 0 / 0.5613 GB, free: 4.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.1363, allocations: 37.69 kB / 0.5614 GB, free: 4.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1364, allocations: 51.41 kB / 0.5614 GB, free: 4.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.1365, allocations: 105.7 kB / 0.5615 GB, free: 4.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1365, allocations: 25.7 kB / 0.5616 GB, free: 4.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1365, allocations: 100.2 kB / 0.5616 GB, free: 4.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.1365, allocations: 3.906 kB / 0.5617 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1366, allocations: 17.72 kB / 0.5617 GB, free: 4.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.1367, allocations: 314.8 kB / 0.562 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1367, allocations: 7.984 kB / 0.562 GB, free: 4.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.1367, allocations: 17.72 kB / 0.562 GB, free: 4.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.1367, allocations: 17.72 kB / 0.562 GB, free: 4.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1367, allocations: 3.938 kB / 0.562 GB, free: 4.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.17e-05/0.1368, allocations: 53.62 kB / 0.5621 GB, free: 4.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1369, allocations: 4 kB / 0.5621 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1369, allocations: 0 / 0.5621 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1369, allocations: 0 / 0.5621 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.962e-05/0.1369, allocations: 8 kB / 0.5621 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1369, allocations: 3.984 kB / 0.5621 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.137, allocations: 0 / 0.5621 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.137, allocations: 4.062 kB / 0.5621 GB, free: 4.004 MB / 430.1 MB 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.074e-05/0.137, allocations: 117.8 kB / 0.5622 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1371, allocations: 7.844 kB / 0.5622 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1372, allocations: 120.9 kB / 0.5623 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.594e-05/0.1372, allocations: 176.3 kB / 0.5625 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.1373, allocations: 188.2 kB / 0.5627 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/0.1373, allocations: 180.3 kB / 0.5628 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1376, allocations: 413.1 kB / 0.5632 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.1376, allocations: 105 kB / 0.5633 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1376, allocations: 101 kB / 0.5634 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.389e-05/0.1377, allocations: 184.2 kB / 0.5636 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.1377, allocations: 184.5 kB / 0.5638 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-05/0.1378, allocations: 180.2 kB / 0.564 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.991e-05/0.1379, allocations: 176.3 kB / 0.5641 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.138, allocations: 315.7 kB / 0.5644 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1381, allocations: 186.1 kB / 0.5646 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.1381, allocations: 184.2 kB / 0.5648 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1383, allocations: 113 kB / 0.5649 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.1383, allocations: 180.2 kB / 0.5651 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1384, allocations: 101 kB / 0.5652 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.1384, allocations: 79.28 kB / 0.5652 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1384, allocations: 0 / 0.5652 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1386, allocations: 31.92 kB / 0.5653 GB, free: 0.5312 MB / 430.1 MB 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.0004309/0.1391, allocations: 0.8246 MB / 0.5661 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.1392, allocations: 12 kB / 0.5661 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1392, allocations: 0 / 0.5661 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1392, allocations: 3.938 kB / 0.5661 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1395, allocations: 0.5224 MB / 0.5666 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.1404, allocations: 1.331 MB / 0.5679 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1407, allocations: 0.6692 MB / 0.5685 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.1407, allocations: 7.984 kB / 0.5686 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1407, allocations: 15.38 kB / 0.5686 GB, free: 13 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1407, allocations: 0 / 0.5686 GB, free: 13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2767/0.4175, allocations: 1.355 MB / 0.5699 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.4178, allocations: 214.8 kB / 0.5701 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.164, allocations: 0 / 0.5701 GB, free: 11.5 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)