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.001016/0.001016, allocations: 115.3 kB / 17.03 MB, free: 5.707 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.0009836/0.0009837, allocations: 195 kB / 17.97 MB, free: 5.113 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.246/1.246, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3224, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004472/0.3269, allocations: 3.993 MB / 0.5615 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.3271, allocations: 161.3 kB / 0.5616 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.3271, allocations: 1.406 kB / 0.5616 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.319e-05/0.3272, allocations: 6.219 kB / 0.5616 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.3273, allocations: 9.5 kB / 0.5616 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.3276, allocations: 83.42 kB / 0.5617 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.3277, allocations: 38.06 kB / 0.5617 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.3277, allocations: 1.922 kB / 0.5617 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.3278, allocations: 15.08 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.3278, allocations: 13.36 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.3278, allocations: 0 / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.328, allocations: 57.31 kB / 0.5618 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.3281, allocations: 12.58 kB / 0.5618 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3281, allocations: 15.34 kB / 0.5618 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3282, allocations: 45.31 kB / 0.5619 GB, free: 33.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3282, allocations: 0.9688 kB / 0.5619 GB, free: 33.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3282, allocations: 1.531 kB / 0.5619 GB, free: 33.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3282, allocations: 3.688 kB / 0.5619 GB, free: 33.66 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.0002957/0.3285, allocations: 331.5 kB / 0.5622 GB, free: 33.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3286, allocations: 9.375 kB / 0.5622 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3286, allocations: 10.09 kB / 0.5622 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.3287, allocations: 161.8 kB / 0.5624 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.3288, allocations: 28.98 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.3288, allocations: 1.938 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3289, allocations: 43.66 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3289, allocations: 3.938 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3289, allocations: 1.109 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.329, allocations: 1.344 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.329, allocations: 21.41 kB / 0.5625 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3293, allocations: 334.2 kB / 0.5628 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.822e-05/0.3294, allocations: 18.52 kB / 0.5628 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.3294, allocations: 7.688 kB / 0.5628 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.3295, allocations: 84.61 kB / 0.5629 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.3295, allocations: 35.84 kB / 0.5629 GB, free: 32.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3295, allocations: 0.5938 kB / 0.5629 GB, free: 32.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.3296, allocations: 38.75 kB / 0.563 GB, free: 32.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.3296, allocations: 52.41 kB / 0.563 GB, free: 32.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.3297, allocations: 104 kB / 0.5631 GB, free: 32.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3297, allocations: 25.7 kB / 0.5632 GB, free: 32.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.3298, allocations: 86.92 kB / 0.5632 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-06/0.3298, allocations: 6.094 kB / 0.5632 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.3298, allocations: 17.98 kB / 0.5633 GB, free: 32.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.3298, allocations: 318 kB / 0.5636 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.3299, allocations: 4.609 kB / 0.5636 GB, free: 31.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.3299, allocations: 19.08 kB / 0.5636 GB, free: 31.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.3299, allocations: 23.41 kB / 0.5636 GB, free: 31.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3299, allocations: 5.969 kB / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.401e-05/0.33, allocations: 52.92 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.33, allocations: 6.844 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.33, allocations: 0 / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.33, allocations: 2.531 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.3301, allocations: 6.484 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3301, allocations: 0 / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3301, allocations: 6.828 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3301, allocations: 1.344 kB / 0.5637 GB, free: 31.75 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 4.439e-05/0.3302, allocations: 117.5 kB / 0.5638 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3302, allocations: 6.438 kB / 0.5638 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.3303, allocations: 123.7 kB / 0.5639 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.3303, allocations: 177.8 kB / 0.5641 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/0.3303, allocations: 183.6 kB / 0.5643 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.3304, allocations: 182.1 kB / 0.5644 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3305, allocations: 409.8 kB / 0.5648 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.3305, allocations: 110.7 kB / 0.5649 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.3305, allocations: 103.7 kB / 0.565 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.3306, allocations: 178.9 kB / 0.5652 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3306, allocations: 185.2 kB / 0.5654 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/0.3306, allocations: 179.9 kB / 0.5656 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-05/0.3306, allocations: 182.5 kB / 0.5657 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.155e-05/0.3307, allocations: 311.2 kB / 0.566 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3307, allocations: 185.2 kB / 0.5662 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3308, allocations: 180.2 kB / 0.5664 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3309, allocations: 110.1 kB / 0.5665 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3309, allocations: 183.1 kB / 0.5667 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.331, allocations: 102.7 kB / 0.5668 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.331, allocations: 86.38 kB / 0.5668 GB, free: 28.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.331, allocations: 0.5 kB / 0.5668 GB, free: 28.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.3312, allocations: 16.98 kB / 0.5669 GB, free: 28.37 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.0001791/0.3314, allocations: 204.8 kB / 0.567 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.3315, allocations: 7.828 kB / 0.5671 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3315, allocations: 1.438 kB / 0.5671 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3315, allocations: 1.469 kB / 0.5671 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3318, allocations: 465.7 kB / 0.5675 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.332, allocations: 185.1 kB / 0.5677 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.3321, allocations: 0.6753 MB / 0.5683 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.3321, allocations: 8.422 kB / 0.5683 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.3321, allocations: 14.61 kB / 0.5684 GB, free: 26.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3322, allocations: 1.844 kB / 0.5684 GB, free: 26.86 MB / 446.1 MB Notification: Performance of Templates: time 0.00246/0.3346, allocations: 0.627 MB / 0.569 GB, free: 26.8 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)