Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6986/0.6986, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 404.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.44 kB / 485.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1648, allocations: 80.42 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4512/0.616, allocations: 133.3 MB / 0.7723 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00017/0.6162, allocations: 49.02 kB / 0.7724 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.6163, allocations: 4 kB / 0.7724 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.6165, allocations: 11.92 kB / 0.7724 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.864e-05/0.6166, allocations: 5.594 kB / 0.7724 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.6173, allocations: 226.8 kB / 0.7726 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.6174, allocations: 63.38 kB / 0.7727 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.6175, allocations: 2.531 kB / 0.7727 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.6175, allocations: 11.64 kB / 0.7727 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.6176, allocations: 14.77 kB / 0.7727 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.6176, allocations: 5.625 kB / 0.7727 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.6181, allocations: 249.5 kB / 0.7729 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.6181, allocations: 6.469 kB / 0.773 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.6182, allocations: 9.141 kB / 0.773 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.6185, allocations: 193.3 kB / 0.7731 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6185, allocations: 6.094 kB / 0.7732 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6185, allocations: 0 / 0.7732 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.6185, allocations: 0 / 0.7732 GB, free: 8.07 MB / 0.5105 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.0004196/0.6189, allocations: 364.6 kB / 0.7735 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.619, allocations: 9.75 kB / 0.7735 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.619, allocations: 0.9375 kB / 0.7735 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.6192, allocations: 167.2 kB / 0.7737 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.6192, allocations: 26.45 kB / 0.7737 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6192, allocations: 10.03 kB / 0.7737 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6194, allocations: 43.81 kB / 0.7737 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6194, allocations: 1.438 kB / 0.7737 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6194, allocations: 4 kB / 0.7738 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.6194, allocations: 2.844 kB / 0.7738 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.6195, allocations: 11.58 kB / 0.7738 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.6202, allocations: 0.6011 MB / 0.7744 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.6203, allocations: 26.55 kB / 0.7744 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.6203, allocations: 6.984 kB / 0.7744 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.6205, allocations: 339.4 kB / 0.7747 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.6205, allocations: 30.56 kB / 0.7747 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6206, allocations: 0 / 0.7747 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.6207, allocations: 37.52 kB / 0.7748 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.6207, allocations: 59.44 kB / 0.7748 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.6208, allocations: 105.4 kB / 0.7749 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.6209, allocations: 29.64 kB / 0.775 GB, free: 6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6209, allocations: 91.98 kB / 0.775 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.6209, allocations: 3.938 kB / 0.7751 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.621, allocations: 14.59 kB / 0.7751 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.6211, allocations: 326.8 kB / 0.7754 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.6211, allocations: 6.625 kB / 0.7754 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.6211, allocations: 14.38 kB / 0.7754 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.6211, allocations: 22.83 kB / 0.7754 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6212, allocations: 2.438 kB / 0.7754 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.922e-05/0.6212, allocations: 45.83 kB / 0.7755 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6213, allocations: 9.984 kB / 0.7755 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.6213, allocations: 4.062 kB / 0.7755 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6213, allocations: 0.6875 kB / 0.7755 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.6213, allocations: 4.812 kB / 0.7755 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6213, allocations: 1.875 kB / 0.7755 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.6214, allocations: 0 / 0.7755 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.6214, allocations: 2.844 kB / 0.7755 GB, free: 5.469 MB / 0.5105 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 6.826e-05/0.6215, allocations: 112.6 kB / 0.7756 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.6215, allocations: 3.906 kB / 0.7756 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.6216, allocations: 130.5 kB / 0.7757 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.6217, allocations: 178.9 kB / 0.7759 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-05/0.6217, allocations: 180.2 kB / 0.7761 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.893e-05/0.6218, allocations: 179 kB / 0.7762 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.622, allocations: 411.8 kB / 0.7766 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/0.622, allocations: 109 kB / 0.7767 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.6221, allocations: 101 kB / 0.7768 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.681e-05/0.6221, allocations: 186.6 kB / 0.777 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.6222, allocations: 176.3 kB / 0.7772 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.127e-05/0.6222, allocations: 186.8 kB / 0.7774 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.6223, allocations: 180.2 kB / 0.7775 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.6226, allocations: 0.8435 MB / 0.7783 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.6227, allocations: 186 kB / 0.7785 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.6227, allocations: 187 kB / 0.7787 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6229, allocations: 114.8 kB / 0.7788 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.6229, allocations: 183.2 kB / 0.779 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.623, allocations: 101 kB / 0.7791 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.623, allocations: 92.08 kB / 0.7792 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.623, allocations: 0 / 0.7792 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000414/0.6235, allocations: 57.41 kB / 0.7792 GB, free: 1.453 MB / 0.5105 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.0003246/0.6238, allocations: 254.9 kB / 0.7795 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.588e-05/0.6239, allocations: 7.75 kB / 0.7795 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6239, allocations: 0 / 0.7795 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6239, allocations: 0 / 0.7795 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.6243, allocations: 0.5352 MB / 0.78 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.6246, allocations: 180.8 kB / 0.7802 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.6249, allocations: 0.6755 MB / 0.7808 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.6249, allocations: 9.281 kB / 0.7808 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.6249, allocations: 7.438 kB / 0.7808 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.625, allocations: 0 / 0.7808 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.004086/0.629, allocations: 1.281 MB / 0.7821 GB, free: 15.14 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)