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.001723/0.001723, allocations: 100.1 kB / 15.88 MB, free: 12 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.002636/0.002636, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.746/0.746, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.92 kB / 0.4904 GB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1838, allocations: 77.93 MB / 0.5665 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5151/0.6989, allocations: 133.3 MB / 0.6967 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.6991, allocations: 53.48 kB / 0.6967 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.6992, allocations: 0 / 0.6967 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.6993, allocations: 7.938 kB / 0.6967 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.6994, allocations: 11.97 kB / 0.6967 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.7003, allocations: 210.9 kB / 0.6969 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.7004, allocations: 67.64 kB / 0.697 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.7005, allocations: 4 kB / 0.697 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.7005, allocations: 11.98 kB / 0.697 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.7006, allocations: 15.98 kB / 0.697 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.7007, allocations: 0 / 0.697 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.7012, allocations: 247.4 kB / 0.6973 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.7013, allocations: 7.875 kB / 0.6973 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.7013, allocations: 7.984 kB / 0.6973 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.7017, allocations: 193.6 kB / 0.6975 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7018, allocations: 0 / 0.6975 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7018, allocations: 4 kB / 0.6975 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7018, allocations: 0 / 0.6975 GB, free: 1.902 MB / 0.5137 GB 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.0004643/0.7023, allocations: 360.1 kB / 0.6978 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7023, allocations: 12.03 kB / 0.6978 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.7024, allocations: 0.9375 kB / 0.6978 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.7025, allocations: 168.4 kB / 0.698 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.7026, allocations: 30.45 kB / 0.698 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.7026, allocations: 3.938 kB / 0.698 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.7027, allocations: 41.69 kB / 0.6981 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7027, allocations: 0 / 0.6981 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7028, allocations: 0 / 0.6981 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.7028, allocations: 4 kB / 0.6981 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.7028, allocations: 19.92 kB / 0.6981 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.7037, allocations: 0.6027 MB / 0.6987 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.7037, allocations: 22.58 kB / 0.6987 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.7038, allocations: 8.859 kB / 0.6987 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.704, allocations: 340.5 kB / 0.699 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.704, allocations: 30.56 kB / 0.699 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.704, allocations: 0 / 0.699 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.7042, allocations: 37.62 kB / 0.6991 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.7043, allocations: 55.41 kB / 0.6991 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.7044, allocations: 102 kB / 0.6992 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.7044, allocations: 25.7 kB / 0.6993 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.7045, allocations: 96.03 kB / 0.6994 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/0.7045, allocations: 7.844 kB / 0.6994 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.7045, allocations: 13.72 kB / 0.6994 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7047, allocations: 318.8 kB / 0.6997 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.7047, allocations: 8 kB / 0.6997 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.7048, allocations: 21.7 kB / 0.6997 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.7048, allocations: 21.66 kB / 0.6997 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7048, allocations: 0 / 0.6997 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.119e-05/0.7049, allocations: 45.69 kB / 0.6998 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7049, allocations: 11.94 kB / 0.6998 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7049, allocations: 0 / 0.6998 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.7049, allocations: 0 / 0.6998 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.705, allocations: 8.062 kB / 0.6998 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.705, allocations: 4 kB / 0.6998 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.705, allocations: 0 / 0.6998 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7051, allocations: 3.984 kB / 0.6998 GB, free: 15.13 MB / 0.5294 GB 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 7.28e-05/0.7051, allocations: 113.8 kB / 0.6999 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.7052, allocations: 0 / 0.6999 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.7053, allocations: 120.9 kB / 0.7 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/0.7054, allocations: 188.2 kB / 0.7002 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.159e-05/0.7054, allocations: 177 kB / 0.7004 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.7055, allocations: 184.2 kB / 0.7005 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.7057, allocations: 405.2 kB / 0.7009 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.7058, allocations: 108.9 kB / 0.701 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.7058, allocations: 101 kB / 0.7011 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.437e-05/0.7059, allocations: 188.1 kB / 0.7013 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.706, allocations: 184.2 kB / 0.7015 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-05/0.706, allocations: 184.2 kB / 0.7017 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.914e-05/0.7061, allocations: 184.2 kB / 0.7018 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.7062, allocations: 303.8 kB / 0.7021 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.7063, allocations: 190 kB / 0.7023 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.7064, allocations: 180.3 kB / 0.7025 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7066, allocations: 112.9 kB / 0.7026 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.7066, allocations: 180.3 kB / 0.7028 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.7067, allocations: 105 kB / 0.7029 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.7067, allocations: 83.28 kB / 0.7029 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7067, allocations: 0 / 0.7029 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003331/0.7071, allocations: 59.86 kB / 0.703 GB, free: 11.63 MB / 0.5294 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 (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.0003674/0.7074, allocations: 254.7 kB / 0.7032 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.7075, allocations: 12 kB / 0.7032 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7075, allocations: 0 / 0.7032 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.093e-06/0.7075, allocations: 0 / 0.7032 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.708, allocations: 0.5226 MB / 0.7038 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.7083, allocations: 192.6 kB / 0.7039 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.7086, allocations: 0.6731 MB / 0.7046 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.7087, allocations: 7.016 kB / 0.7046 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.7087, allocations: 15.44 kB / 0.7046 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.7087, allocations: 4 kB / 0.7046 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.004117/0.7128, allocations: 1.264 MB / 0.7059 GB, free: 8.648 MB / 0.5294 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)