Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007752/0.007752, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001553/0.001553, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 422.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.89 kB / 0.5813 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4862, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004355/0.4906, allocations: 4.022 MB / 0.6636 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.4908, allocations: 152.7 kB / 0.6637 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.4908, allocations: 1.094 kB / 0.6637 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.4909, allocations: 7.875 kB / 0.6637 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.491, allocations: 18.53 kB / 0.6638 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.4914, allocations: 81.28 kB / 0.6638 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.4914, allocations: 29.23 kB / 0.6639 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.4915, allocations: 1.625 kB / 0.6639 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.4915, allocations: 24.5 kB / 0.6639 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.4916, allocations: 10.16 kB / 0.6639 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4916, allocations: 1.438 kB / 0.6639 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.4918, allocations: 65.02 kB / 0.664 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.4918, allocations: 6.547 kB / 0.664 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.4919, allocations: 5.75 kB / 0.664 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.492, allocations: 50.42 kB / 0.664 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.492, allocations: 0 / 0.664 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.492, allocations: 0 / 0.664 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.492, allocations: 0 / 0.664 GB, free: 7.043 MB / 0.4981 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.0002991/0.4923, allocations: 332.6 kB / 0.6643 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4924, allocations: 9.531 kB / 0.6643 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.4924, allocations: 10.12 kB / 0.6644 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.597e-05/0.4925, allocations: 165.8 kB / 0.6645 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.4925, allocations: 28.98 kB / 0.6645 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.4925, allocations: 4.375 kB / 0.6645 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.4927, allocations: 43.28 kB / 0.6646 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4927, allocations: 1.125 kB / 0.6646 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.4927, allocations: 0 / 0.6646 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4927, allocations: 5.766 kB / 0.6646 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.4928, allocations: 21.58 kB / 0.6646 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.4931, allocations: 339.9 kB / 0.6649 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.668e-05/0.4931, allocations: 17.45 kB / 0.665 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.4931, allocations: 10.14 kB / 0.665 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.4932, allocations: 85.47 kB / 0.665 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.4932, allocations: 32.03 kB / 0.6651 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4932, allocations: 4 kB / 0.6651 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.4934, allocations: 40.3 kB / 0.6651 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.4934, allocations: 51.41 kB / 0.6652 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.245e-05/0.4934, allocations: 108.2 kB / 0.6653 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4935, allocations: 25.7 kB / 0.6653 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.4935, allocations: 88 kB / 0.6654 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.4935, allocations: 3.906 kB / 0.6654 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.4935, allocations: 18.33 kB / 0.6654 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.4936, allocations: 324.3 kB / 0.6657 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.4936, allocations: 1.438 kB / 0.6657 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.4936, allocations: 17.67 kB / 0.6657 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.4936, allocations: 24.56 kB / 0.6657 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4937, allocations: 0 / 0.6657 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.568e-05/0.4937, allocations: 55.22 kB / 0.6658 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4937, allocations: 5.344 kB / 0.6658 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4937, allocations: 0 / 0.6658 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4938, allocations: 4.969 kB / 0.6658 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.4938, allocations: 4.938 kB / 0.6658 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4938, allocations: 0.9688 kB / 0.6658 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.4938, allocations: 9.188 kB / 0.6658 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.4939, allocations: 1.188 kB / 0.6658 GB, free: 5.051 MB / 0.4981 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 4.544e-05/0.4939, allocations: 116.8 kB / 0.6659 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.4939, allocations: 5.281 kB / 0.6659 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.494, allocations: 120.1 kB / 0.6661 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.494, allocations: 177.7 kB / 0.6662 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/0.4941, allocations: 181.3 kB / 0.6664 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.4941, allocations: 180.2 kB / 0.6666 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.4942, allocations: 412.5 kB / 0.667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.4942, allocations: 106 kB / 0.6671 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.4943, allocations: 106 kB / 0.6672 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/0.4943, allocations: 181.4 kB / 0.6673 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4943, allocations: 181.3 kB / 0.6675 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/0.4943, allocations: 181.3 kB / 0.6677 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-05/0.4944, allocations: 185.3 kB / 0.6679 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.891e-05/0.4944, allocations: 307.2 kB / 0.6682 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.4945, allocations: 187.2 kB / 0.6683 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.4945, allocations: 178.6 kB / 0.6685 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4946, allocations: 111.1 kB / 0.6686 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.4947, allocations: 181.5 kB / 0.6688 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4947, allocations: 109.9 kB / 0.6689 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.4947, allocations: 80.19 kB / 0.669 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.42e-07/0.4947, allocations: 1.594 kB / 0.669 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000248/0.495, allocations: 14.69 kB / 0.669 GB, free: 1.645 MB / 0.4981 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.0001568/0.4951, allocations: 202.2 kB / 0.6692 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.772e-05/0.4952, allocations: 14.42 kB / 0.6692 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4952, allocations: 1.438 kB / 0.6692 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4952, allocations: 0 / 0.6692 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4955, allocations: 461.3 kB / 0.6696 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.4957, allocations: 177.4 kB / 0.6698 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.4958, allocations: 0.6724 MB / 0.6705 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.4958, allocations: 15.89 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.4959, allocations: 8.781 kB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4959, allocations: 4 kB / 0.6705 GB, free: 116 kB / 0.4981 GB Notification: Performance of Templates: time 0.002685/0.4986, allocations: 0.6225 MB / 0.6711 GB, free: 15.79 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)