Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009434, allocations: 96.19 kB / 15.68 MB, free: 488 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.0009966/0.0009966, allocations: 175.8 kB / 16.57 MB, free: 6.855 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.334/1.334, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6718/0.6718, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3618/0.4961, allocations: 114.3 MB / 0.6684 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.4968, allocations: 495.8 kB / 0.6689 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.4968, allocations: 0 / 0.6689 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.912e-05/0.4969, allocations: 3.938 kB / 0.6689 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.4969, allocations: 7.984 kB / 0.6689 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.4975, allocations: 204.4 kB / 0.6691 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.4976, allocations: 15.97 kB / 0.6691 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.4976, allocations: 3.938 kB / 0.6691 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.4976, allocations: 15.98 kB / 0.6691 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.4977, allocations: 8 kB / 0.6691 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4977, allocations: 3.938 kB / 0.6691 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.4981, allocations: 183.7 kB / 0.6693 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.4981, allocations: 4 kB / 0.6693 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.4982, allocations: 29.7 kB / 0.6694 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.4984, allocations: 99.44 kB / 0.6695 GB, free: 6.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.4984, allocations: 0 / 0.6695 GB, free: 6.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4984, allocations: 0 / 0.6695 GB, free: 6.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.4984, allocations: 0 / 0.6695 GB, free: 6.234 MB / 494.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.0003495/0.4987, allocations: 357.8 kB / 0.6698 GB, free: 5.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4988, allocations: 16.02 kB / 0.6698 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.4988, allocations: 3.984 kB / 0.6698 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.4989, allocations: 163.7 kB / 0.67 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.499, allocations: 33.64 kB / 0.67 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.499, allocations: 0 / 0.67 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4991, allocations: 45.64 kB / 0.67 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.4992, allocations: 0 / 0.67 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4992, allocations: 0 / 0.67 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.4992, allocations: 8 kB / 0.6701 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.4993, allocations: 11.98 kB / 0.6701 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.4999, allocations: 0.5949 MB / 0.6706 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.5, allocations: 18.52 kB / 0.6707 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.5002, allocations: 332.5 kB / 0.671 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5002, allocations: 42.55 kB / 0.671 GB, free: 4.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5002, allocations: 0 / 0.671 GB, free: 4.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.5003, allocations: 29.7 kB / 0.671 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.5004, allocations: 51.41 kB / 0.6711 GB, free: 4.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.5005, allocations: 109.8 kB / 0.6712 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5005, allocations: 25.7 kB / 0.6712 GB, free: 4.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.5005, allocations: 84.05 kB / 0.6713 GB, free: 3.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.5006, allocations: 12.06 kB / 0.6713 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5006, allocations: 0 / 0.6713 GB, free: 3.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.5007, allocations: 314.8 kB / 0.6716 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.5007, allocations: 3.984 kB / 0.6716 GB, free: 3.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.5007, allocations: 13.72 kB / 0.6716 GB, free: 3.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.5007, allocations: 8 kB / 0.6716 GB, free: 3.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5007, allocations: 0 / 0.6716 GB, free: 3.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.561e-05/0.5008, allocations: 61.58 kB / 0.6717 GB, free: 3.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5008, allocations: 7.938 kB / 0.6717 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5009, allocations: 0 / 0.6717 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5009, allocations: 3.938 kB / 0.6717 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.5009, allocations: 8 kB / 0.6717 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5009, allocations: 0 / 0.6717 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.501, allocations: 3.906 kB / 0.6717 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.501, allocations: 7.984 kB / 0.6717 GB, free: 3.527 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.501, allocations: 107.7 kB / 0.6718 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.5011, allocations: 8.016 kB / 0.6718 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.5012, allocations: 120.9 kB / 0.672 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.582e-05/0.5012, allocations: 180.2 kB / 0.6721 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.5013, allocations: 180.3 kB / 0.6723 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/0.5013, allocations: 180.2 kB / 0.6725 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.5015, allocations: 409.2 kB / 0.6729 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.5016, allocations: 108.9 kB / 0.673 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.5016, allocations: 101 kB / 0.6731 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.921e-05/0.5017, allocations: 184.2 kB / 0.6732 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.5017, allocations: 184.2 kB / 0.6734 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.615e-05/0.5018, allocations: 179.3 kB / 0.6736 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.137e-05/0.5018, allocations: 188.2 kB / 0.6738 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.502, allocations: 300 kB / 0.6741 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.502, allocations: 190.1 kB / 0.6742 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.5021, allocations: 180.2 kB / 0.6744 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.5023, allocations: 120.9 kB / 0.6745 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.5023, allocations: 176.3 kB / 0.6747 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.5024, allocations: 104.9 kB / 0.6748 GB, free: 188 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.5024, allocations: 87.28 kB / 0.6749 GB, free: 100 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5024, allocations: 0 / 0.6749 GB, free: 100 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.5027, allocations: 51.92 kB / 0.6749 GB, free: 48 kB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003038/0.503, allocations: 255.1 kB / 0.6752 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.5031, allocations: 8 kB / 0.6752 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5031, allocations: 3.938 kB / 0.6752 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.5031, allocations: 448 / 0.6752 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5035, allocations: 0.5309 MB / 0.6757 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.5037, allocations: 180.4 kB / 0.6759 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.5039, allocations: 0.6809 MB / 0.6765 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.5039, allocations: 9.969 kB / 0.6765 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.504, allocations: 11.44 kB / 0.6766 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.504, allocations: 0 / 0.6766 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.003532/0.5075, allocations: 1.209 MB / 0.6777 GB, free: 13.11 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)