Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.2 kB / 16.42 MB, free: 6.492 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.001222/0.001222, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.78 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4251/0.5493, allocations: 135.4 MB / 0.7926 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.5495, allocations: 48.08 kB / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.5496, allocations: 4 kB / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.5497, allocations: 7.594 kB / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.5498, allocations: 13.62 kB / 0.7926 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.5506, allocations: 242.4 kB / 0.7929 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.5507, allocations: 39.38 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.5507, allocations: 3.719 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.462e-05/0.5507, allocations: 19.3 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.5508, allocations: 11.88 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.5508, allocations: 1.344 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.5513, allocations: 248 kB / 0.7932 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.5514, allocations: 4.719 kB / 0.7932 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.5514, allocations: 18.59 kB / 0.7932 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.5519, allocations: 184.8 kB / 0.7934 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5519, allocations: 5 kB / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.552, allocations: 4 kB / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.552, allocations: 0 / 0.7934 GB, free: 13.18 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.0004883/0.5525, allocations: 358 kB / 0.7937 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5525, allocations: 8.781 kB / 0.7937 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.5526, allocations: 2 kB / 0.7937 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5527, allocations: 169.2 kB / 0.7939 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.5528, allocations: 27.45 kB / 0.7939 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.5528, allocations: 5.031 kB / 0.7939 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5529, allocations: 56.44 kB / 0.794 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.553, allocations: 0 / 0.794 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.553, allocations: 1.188 kB / 0.794 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.553, allocations: 4.938 kB / 0.794 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.5531, allocations: 11.03 kB / 0.794 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.5538, allocations: 0.5939 MB / 0.7946 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.5539, allocations: 21.14 kB / 0.7946 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.5539, allocations: 11.95 kB / 0.7946 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.5541, allocations: 332.3 kB / 0.7949 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5542, allocations: 31.69 kB / 0.795 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.5542, allocations: 7.531 kB / 0.795 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.5543, allocations: 36.72 kB / 0.795 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.5544, allocations: 56.62 kB / 0.7951 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.5545, allocations: 102.4 kB / 0.7952 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.5545, allocations: 25.7 kB / 0.7952 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.5545, allocations: 85.05 kB / 0.7953 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.5545, allocations: 8.688 kB / 0.7953 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.5546, allocations: 24.75 kB / 0.7953 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.5547, allocations: 317.4 kB / 0.7956 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.5547, allocations: 4.125 kB / 0.7956 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.5547, allocations: 23.84 kB / 0.7956 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.5548, allocations: 23.31 kB / 0.7956 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5548, allocations: 0 / 0.7956 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.359e-05/0.5549, allocations: 50.23 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5549, allocations: 5.812 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5549, allocations: 1.188 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.5549, allocations: 64 / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.555, allocations: 10.62 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.555, allocations: 0 / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.555, allocations: 3.25 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.555, allocations: 2.75 kB / 0.7957 GB, free: 10.71 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 7.658e-05/0.5551, allocations: 112 kB / 0.7958 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5551, allocations: 1.406 kB / 0.7958 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.5552, allocations: 126 kB / 0.7959 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/0.5553, allocations: 184 kB / 0.7961 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.5554, allocations: 105 kB / 0.7962 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.5554, allocations: 183.1 kB / 0.7964 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.5555, allocations: 195.7 kB / 0.7966 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5557, allocations: 110 kB / 0.7967 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5557, allocations: 181.4 kB / 0.7969 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.586e-05/0.5558, allocations: 259 kB / 0.7971 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001636/0.556, allocations: 379.2 kB / 0.7975 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.675e-05/0.556, allocations: 108 kB / 0.7976 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.5561, allocations: 90.09 kB / 0.7977 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of Backend: time 3.81e-07/0.5561, allocations: 4 kB / 0.7977 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.5567, allocations: 161.5 kB / 0.7978 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0005008/0.5572, allocations: 0.8601 MB / 0.7986 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of Templates: time 0.003452/0.5606, allocations: 1.189 MB / 0.7998 GB, free: 7.543 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)