Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009463/0.0009462, allocations: 185 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.437/0.437, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 225.7 MB / 353.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007094/0.0007094, allocations: 102 kB / 425.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 0.4955 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 71.34 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1259/0.4046, allocations: 135.6 MB / 0.6976 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.4048, allocations: 51.89 kB / 0.6976 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.4048, allocations: 0 / 0.6976 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.674e-05/0.4049, allocations: 3.938 kB / 0.6976 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.405, allocations: 7.984 kB / 0.6977 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.4054, allocations: 111.7 kB / 0.6978 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.4055, allocations: 55.81 kB / 0.6978 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.4055, allocations: 0 / 0.6978 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.4056, allocations: 19.98 kB / 0.6978 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.4057, allocations: 15.91 kB / 0.6978 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.4057, allocations: 4 kB / 0.6979 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.4059, allocations: 79.72 kB / 0.6979 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.406, allocations: 7.938 kB / 0.6979 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.406, allocations: 37.69 kB / 0.698 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.4062, allocations: 81.89 kB / 0.698 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4062, allocations: 0 / 0.698 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4062, allocations: 0 / 0.698 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.4062, allocations: 0 / 0.698 GB, free: 1.875 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003335/0.4066, allocations: 335.4 kB / 0.6984 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4066, allocations: 12.03 kB / 0.6984 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.4068, allocations: 16.92 kB / 0.6984 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4069, allocations: 164.4 kB / 0.6986 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.407, allocations: 29.64 kB / 0.6986 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.407, allocations: 4 kB / 0.6986 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.4071, allocations: 45.67 kB / 0.6986 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4072, allocations: 4 kB / 0.6986 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4072, allocations: 4 kB / 0.6986 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4072, allocations: 0 / 0.6986 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.4073, allocations: 23.92 kB / 0.6987 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.4076, allocations: 264.8 kB / 0.6989 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.4077, allocations: 14.58 kB / 0.6989 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.4077, allocations: 8.859 kB / 0.6989 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.4077, allocations: 4.062 kB / 0.6989 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4077, allocations: 34.56 kB / 0.699 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4077, allocations: 3.938 kB / 0.699 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.000114/0.4079, allocations: 41.62 kB / 0.699 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4079, allocations: 55.34 kB / 0.6991 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.408, allocations: 101.9 kB / 0.6992 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.408, allocations: 29.69 kB / 0.6992 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.408, allocations: 91.98 kB / 0.6993 GB, free: 416 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-06/0.408, allocations: 3.906 kB / 0.6993 GB, free: 412 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.408, allocations: 4 kB / 0.6993 GB, free: 408 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.4081, allocations: 315 kB / 0.6996 GB, free: 84 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.4082, allocations: 4 kB / 0.6996 GB, free: 80 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.4082, allocations: 26.56 kB / 0.6996 GB, free: 44 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.4082, allocations: 30.52 kB / 0.6996 GB, free: 4 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4082, allocations: 4 kB / 0.6996 GB, free: 0 / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.2223/0.6305, allocations: 48.58 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6306, allocations: 10.11 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6306, allocations: 1.094 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6306, allocations: 1.219 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.6307, allocations: 6.891 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6307, allocations: 5.859 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.6308, allocations: 3.812 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.6308, allocations: 1.75 kB / 0.6997 GB, free: 137.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.22e-05/0.6308, allocations: 114.4 kB / 0.6998 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.6309, allocations: 2.328 kB / 0.6998 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.6309, allocations: 8.5 kB / 0.6998 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6309, allocations: 4.719 kB / 0.6998 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6309, allocations: 0.5156 kB / 0.6998 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.6309, allocations: 0.6562 kB / 0.6999 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.6311, allocations: 346.8 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6311, allocations: 3.656 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.6312, allocations: 2.406 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6312, allocations: 0.5938 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.6312, allocations: 1.203 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6312, allocations: 2.062 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6312, allocations: 3.938 kB / 0.7002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.6312, allocations: 61.89 kB / 0.7003 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.6313, allocations: 82.27 kB / 0.7003 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.6313, allocations: 2.844 kB / 0.7003 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.6314, allocations: 11.98 kB / 0.7003 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.6314, allocations: 5.547 kB / 0.7004 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6314, allocations: 4.469 kB / 0.7004 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.6315, allocations: 85.38 kB / 0.7004 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6315, allocations: 0 / 0.7004 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002085/0.6317, allocations: 6.812 kB / 0.7004 GB, free: 136.5 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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 8.683e-05/0.6318, allocations: 107.6 kB / 0.7005 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.6318, allocations: 11.77 kB / 0.7006 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6318, allocations: 0.9062 kB / 0.7006 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.6319, allocations: 7.047 kB / 0.7006 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.6321, allocations: 5.562 kB / 0.7006 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.6323, allocations: 122.7 kB / 0.7007 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.6324, allocations: 0.6761 MB / 0.7013 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.366e-05/0.6324, allocations: 12.56 kB / 0.7014 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.6324, allocations: 8.844 kB / 0.7014 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.6324, allocations: 0.75 kB / 0.7014 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.002094/0.6345, allocations: 482.8 kB / 0.7018 GB, free: 135.5 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)