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: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001259, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001241/0.001241, allocations: 195 kB / 17.98 MB, free: 5.027 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3305, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004462/0.335, allocations: 4.004 MB / 0.5615 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3352, allocations: 159.6 kB / 0.5616 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.3352, allocations: 1 kB / 0.5616 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.134e-05/0.3353, allocations: 6.156 kB / 0.5616 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.3354, allocations: 11.64 kB / 0.5616 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3357, allocations: 79.31 kB / 0.5617 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.3357, allocations: 32.86 kB / 0.5617 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.3358, allocations: 3.828 kB / 0.5617 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.3358, allocations: 25.03 kB / 0.5618 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.3359, allocations: 6.953 kB / 0.5618 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3359, allocations: 1.594 kB / 0.5618 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3361, allocations: 57.36 kB / 0.5618 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.3361, allocations: 9 kB / 0.5618 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.3362, allocations: 11.33 kB / 0.5619 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3363, allocations: 41.92 kB / 0.5619 GB, free: 33.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3363, allocations: 1.219 kB / 0.5619 GB, free: 33.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3363, allocations: 0 / 0.5619 GB, free: 33.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3363, allocations: 2.875 kB / 0.5619 GB, free: 33.57 MB / 446.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.0003337/0.3367, allocations: 343.2 kB / 0.5622 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3367, allocations: 9 kB / 0.5622 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3367, allocations: 6.156 kB / 0.5622 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.3368, allocations: 164.1 kB / 0.5624 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.3369, allocations: 28.67 kB / 0.5624 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.3369, allocations: 4.062 kB / 0.5624 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.337, allocations: 46.47 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.337, allocations: 0.6562 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.337, allocations: 0.8438 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3371, allocations: 1.281 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.3371, allocations: 23.16 kB / 0.5625 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.3374, allocations: 337.6 kB / 0.5628 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.965e-05/0.3375, allocations: 16.47 kB / 0.5628 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.3375, allocations: 7.359 kB / 0.5628 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.3376, allocations: 84.73 kB / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3376, allocations: 37.88 kB / 0.563 GB, free: 32.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3376, allocations: 0 / 0.563 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.3377, allocations: 42.2 kB / 0.563 GB, free: 32.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.3378, allocations: 52.02 kB / 0.563 GB, free: 32.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.3378, allocations: 100.8 kB / 0.5631 GB, free: 32.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.3378, allocations: 30.27 kB / 0.5632 GB, free: 32.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.3379, allocations: 86.92 kB / 0.5633 GB, free: 32.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.3379, allocations: 4.422 kB / 0.5633 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.3379, allocations: 16.55 kB / 0.5633 GB, free: 32.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.338, allocations: 320.3 kB / 0.5636 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.338, allocations: 4.484 kB / 0.5636 GB, free: 31.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.338, allocations: 14.73 kB / 0.5636 GB, free: 31.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/0.338, allocations: 27.23 kB / 0.5636 GB, free: 31.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.338, allocations: 1.281 kB / 0.5636 GB, free: 31.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.5e-05/0.3381, allocations: 46.03 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3381, allocations: 7.484 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3381, allocations: 1.562 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3381, allocations: 1.531 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.3382, allocations: 10.08 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3382, allocations: 6.141 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.3382, allocations: 5.25 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3382, allocations: 2.312 kB / 0.5637 GB, free: 31.66 MB / 446.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 3.917e-05/0.3383, allocations: 112.7 kB / 0.5638 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3383, allocations: 2.156 kB / 0.5638 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.3384, allocations: 124.8 kB / 0.5639 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.3384, allocations: 182.2 kB / 0.5641 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.3384, allocations: 179.1 kB / 0.5643 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.3385, allocations: 182.1 kB / 0.5644 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3386, allocations: 408.3 kB / 0.5648 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.3386, allocations: 108.3 kB / 0.5649 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.3386, allocations: 106.8 kB / 0.565 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/0.3387, allocations: 179.1 kB / 0.5652 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3387, allocations: 189.5 kB / 0.5654 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/0.3387, allocations: 179.1 kB / 0.5656 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/0.3387, allocations: 178.8 kB / 0.5657 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.308e-05/0.3388, allocations: 316.8 kB / 0.566 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.3388, allocations: 184.2 kB / 0.5662 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3389, allocations: 184.3 kB / 0.5664 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.339, allocations: 104.7 kB / 0.5665 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.339, allocations: 182.8 kB / 0.5667 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3391, allocations: 104.5 kB / 0.5668 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.757e-05/0.3391, allocations: 86.67 kB / 0.5668 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3391, allocations: 0 / 0.5668 GB, free: 28.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3393, allocations: 16.55 kB / 0.5669 GB, free: 28.28 MB / 446.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.0001779/0.3395, allocations: 201.8 kB / 0.5671 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.3396, allocations: 15.2 kB / 0.5671 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3396, allocations: 0 / 0.5671 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3396, allocations: 2.438 kB / 0.5671 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3399, allocations: 464 kB / 0.5675 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.3401, allocations: 189.2 kB / 0.5677 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.3402, allocations: 0.6748 MB / 0.5684 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.3402, allocations: 7.469 kB / 0.5684 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.3403, allocations: 12.84 kB / 0.5684 GB, free: 26.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3403, allocations: 1.188 kB / 0.5684 GB, free: 26.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002714/0.343, allocations: 0.6297 MB / 0.569 GB, free: 26.71 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)