Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001369/0.00137, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.001588/0.001588, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8032/0.8032, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3978, allocations: 80.9 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004744/0.4026, allocations: 4.005 MB / 0.5897 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.4029, allocations: 162.4 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.4029, allocations: 4.594 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.403, allocations: 2.281 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.4031, allocations: 14.39 kB / 0.5898 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.4035, allocations: 82.08 kB / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.4036, allocations: 34.27 kB / 0.59 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.4036, allocations: 5.422 kB / 0.59 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.4037, allocations: 12.56 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.4037, allocations: 14.48 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4038, allocations: 5.328 kB / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.4039, allocations: 57.72 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.404, allocations: 2.844 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.404, allocations: 17.45 kB / 0.5901 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.4042, allocations: 50.3 kB / 0.5901 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4042, allocations: 0 / 0.5901 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4042, allocations: 0 / 0.5901 GB, free: 22.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4042, allocations: 0 / 0.5901 GB, free: 22.04 MB / 446.1 MB 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.000334/0.4045, allocations: 337.1 kB / 0.5904 GB, free: 21.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4046, allocations: 14.17 kB / 0.5904 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.4046, allocations: 0.9375 kB / 0.5904 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.4047, allocations: 161.8 kB / 0.5906 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.4048, allocations: 34.25 kB / 0.5906 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.4048, allocations: 384 / 0.5906 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4049, allocations: 46.22 kB / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4049, allocations: 8.5 kB / 0.5907 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4049, allocations: 3.984 kB / 0.5907 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.405, allocations: 1 kB / 0.5907 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.405, allocations: 11.98 kB / 0.5907 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.4054, allocations: 335.4 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.261e-05/0.4054, allocations: 20.61 kB / 0.591 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.4054, allocations: 4.859 kB / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.4055, allocations: 89.16 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.4055, allocations: 35.41 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4055, allocations: 4 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.4057, allocations: 34.42 kB / 0.5912 GB, free: 20.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.4057, allocations: 52.69 kB / 0.5913 GB, free: 20.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.4058, allocations: 105.8 kB / 0.5914 GB, free: 20.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4058, allocations: 26.86 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.4058, allocations: 84.05 kB / 0.5915 GB, free: 20.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.4058, allocations: 0 / 0.5915 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.4059, allocations: 22.33 kB / 0.5915 GB, free: 20.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.4059, allocations: 319.6 kB / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.4059, allocations: 1.562 kB / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.406, allocations: 25.78 kB / 0.5918 GB, free: 20.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.406, allocations: 23.33 kB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.406, allocations: 0 / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.08e-05/0.4061, allocations: 56.5 kB / 0.5919 GB, free: 19.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4061, allocations: 6.188 kB / 0.5919 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4061, allocations: 7.984 kB / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4061, allocations: 0 / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.4062, allocations: 4 kB / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4062, allocations: 0 / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.4062, allocations: 11.84 kB / 0.5919 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4062, allocations: 1.812 kB / 0.5919 GB, free: 19.95 MB / 446.1 MB 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.881e-05/0.4063, allocations: 113.8 kB / 0.592 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.4063, allocations: 4 kB / 0.592 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.4064, allocations: 121.5 kB / 0.5921 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.4064, allocations: 185.4 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/0.4065, allocations: 180.9 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.4065, allocations: 182.7 kB / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.4066, allocations: 409.2 kB / 0.5931 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4067, allocations: 104.9 kB / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.4067, allocations: 110.1 kB / 0.5933 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.4067, allocations: 180.2 kB / 0.5934 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.4067, allocations: 181.8 kB / 0.5936 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/0.4068, allocations: 176.3 kB / 0.5938 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.657e-05/0.4068, allocations: 189.3 kB / 0.594 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.744e-05/0.4069, allocations: 309.5 kB / 0.5943 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.4069, allocations: 178.1 kB / 0.5944 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.407, allocations: 181.8 kB / 0.5946 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.4071, allocations: 112.9 kB / 0.5947 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.4071, allocations: 177.4 kB / 0.5949 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4072, allocations: 113.9 kB / 0.595 GB, free: 16.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.4072, allocations: 79.28 kB / 0.5951 GB, free: 16.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4072, allocations: 1.062 kB / 0.5951 GB, free: 16.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.4074, allocations: 16 kB / 0.5951 GB, free: 16.5 MB / 446.1 MB 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.0002199/0.4077, allocations: 199.7 kB / 0.5953 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.819e-05/0.4077, allocations: 9.5 kB / 0.5953 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4078, allocations: 0 / 0.5953 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.4078, allocations: 1.125 kB / 0.5953 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4081, allocations: 478.4 kB / 0.5957 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.4083, allocations: 177.7 kB / 0.5959 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.4084, allocations: 0.6729 MB / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.773e-05/0.4084, allocations: 9.438 kB / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.4085, allocations: 11.44 kB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4085, allocations: 1.219 kB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002655/0.4111, allocations: 0.6432 MB / 0.5972 GB, free: 14.3 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)