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.001456/0.001456, allocations: 100.8 kB / 16.4 MB, free: 6.508 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.001652/0.001652, allocations: 196 kB / 17.34 MB, free: 5.742 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 60.09 kB / 0.5577 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5565/0.7189, allocations: 135.4 MB / 0.7642 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.7192, allocations: 51.62 kB / 0.7643 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.7192, allocations: 1.125 kB / 0.7643 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.7194, allocations: 3.938 kB / 0.7643 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.7195, allocations: 16.67 kB / 0.7643 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009129/0.7204, allocations: 239.8 kB / 0.7645 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.7205, allocations: 35.14 kB / 0.7646 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.7206, allocations: 1.875 kB / 0.7646 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.7206, allocations: 18.27 kB / 0.7646 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.7207, allocations: 15.73 kB / 0.7646 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.7208, allocations: 0 / 0.7646 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.7214, allocations: 241.2 kB / 0.7648 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.7214, allocations: 12.27 kB / 0.7648 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.7215, allocations: 13.58 kB / 0.7649 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.7219, allocations: 187 kB / 0.765 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7219, allocations: 0 / 0.765 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7219, allocations: 0 / 0.765 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7219, allocations: 0 / 0.765 GB, free: 15.39 MB / 0.5919 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.0005627/0.7225, allocations: 358 kB / 0.7654 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.7226, allocations: 9.75 kB / 0.7654 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.7227, allocations: 8.75 kB / 0.7654 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.7229, allocations: 165.6 kB / 0.7656 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/0.7229, allocations: 28.17 kB / 0.7656 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.723, allocations: 12.25 kB / 0.7656 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.7232, allocations: 40.7 kB / 0.7656 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7232, allocations: 0 / 0.7656 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.7232, allocations: 2.25 kB / 0.7656 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.7232, allocations: 1.562 kB / 0.7656 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.7233, allocations: 11.39 kB / 0.7657 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.7245, allocations: 0.6119 MB / 0.7662 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.7245, allocations: 22.33 kB / 0.7663 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.7246, allocations: 4.859 kB / 0.7663 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.7249, allocations: 341.4 kB / 0.7666 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.725, allocations: 33.88 kB / 0.7666 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.725, allocations: 6.062 kB / 0.7666 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0002147/0.7252, allocations: 33 kB / 0.7667 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.7253, allocations: 51.41 kB / 0.7667 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.7254, allocations: 109.2 kB / 0.7668 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7255, allocations: 25.7 kB / 0.7668 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.7255, allocations: 86.58 kB / 0.7669 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.7256, allocations: 9.047 kB / 0.7669 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.7256, allocations: 16.91 kB / 0.767 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.7258, allocations: 323.8 kB / 0.7673 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.7258, allocations: 2.188 kB / 0.7673 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.7259, allocations: 18.53 kB / 0.7673 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.7259, allocations: 20.75 kB / 0.7673 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7259, allocations: 0 / 0.7673 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.174e-05/0.726, allocations: 47.86 kB / 0.7673 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.726, allocations: 10.59 kB / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.726, allocations: 0 / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.7261, allocations: 0 / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.7261, allocations: 5.109 kB / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7261, allocations: 2.969 kB / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.7262, allocations: 6.094 kB / 0.7674 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.7262, allocations: 2.922 kB / 0.7674 GB, free: 12.92 MB / 0.5919 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 0.0001141/0.7263, allocations: 113.4 kB / 0.7675 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.7263, allocations: 3.938 kB / 0.7675 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.7265, allocations: 126.7 kB / 0.7676 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001333/0.7266, allocations: 178.1 kB / 0.7678 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.958e-05/0.7267, allocations: 184.3 kB / 0.768 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-05/0.7268, allocations: 179.9 kB / 0.7681 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.7272, allocations: 416.3 kB / 0.7685 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/0.7272, allocations: 102.1 kB / 0.7686 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.7273, allocations: 101 kB / 0.7687 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.7274, allocations: 184.8 kB / 0.7689 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.7274, allocations: 176.3 kB / 0.7691 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-05/0.7275, allocations: 186.6 kB / 0.7692 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-05/0.7276, allocations: 182 kB / 0.7694 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.7278, allocations: 314.8 kB / 0.7697 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.7279, allocations: 181.7 kB / 0.7699 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.7279, allocations: 185.6 kB / 0.7701 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.7281, allocations: 110.2 kB / 0.7702 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.7282, allocations: 182.2 kB / 0.7703 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.7283, allocations: 103 kB / 0.7704 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.7283, allocations: 86.25 kB / 0.7705 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7283, allocations: 0 / 0.7705 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003476/0.7287, allocations: 58.69 kB / 0.7706 GB, free: 9.543 MB / 0.5919 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.0003411/0.729, allocations: 251.8 kB / 0.7708 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.7291, allocations: 11.39 kB / 0.7708 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7291, allocations: 6.625 kB / 0.7708 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.7291, allocations: 0 / 0.7708 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.7296, allocations: 459.1 kB / 0.7713 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.73, allocations: 179 kB / 0.7714 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.7304, allocations: 0.6771 MB / 0.7721 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.7305, allocations: 13.42 kB / 0.7721 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.7305, allocations: 10 kB / 0.7721 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.7305, allocations: 0 / 0.7721 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.004147/0.7347, allocations: 1.296 MB / 0.7734 GB, free: 7.84 MB / 0.5919 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)