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.001048/0.001048, allocations: 111.1 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.001051/0.001051, allocations: 192.2 kB / 17.3 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7961/0.7961, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3168, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004231/0.3211, allocations: 4.005 MB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.3212, allocations: 156 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.3213, allocations: 1.031 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.3214, allocations: 0 / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.3215, allocations: 20.03 kB / 0.5898 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3217, allocations: 79.94 kB / 0.5899 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.3218, allocations: 33.06 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.3219, allocations: 4.062 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.3219, allocations: 21.08 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.322, allocations: 10.14 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.322, allocations: 1.25 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3222, allocations: 62.56 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.3222, allocations: 10.7 kB / 0.5901 GB, free: 22.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.3222, allocations: 13.08 kB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3224, allocations: 42.59 kB / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3224, allocations: 0 / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3224, allocations: 1.844 kB / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3224, allocations: 0 / 0.5901 GB, free: 22.03 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.0002834/0.3227, allocations: 342 kB / 0.5904 GB, free: 21.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3227, allocations: 11.86 kB / 0.5904 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3228, allocations: 2.188 kB / 0.5904 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.217e-05/0.3228, allocations: 162.7 kB / 0.5906 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.3229, allocations: 27.58 kB / 0.5906 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.3229, allocations: 9.203 kB / 0.5906 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.323, allocations: 54.33 kB / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.323, allocations: 0 / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3231, allocations: 0 / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3231, allocations: 5.281 kB / 0.5907 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.3231, allocations: 11.98 kB / 0.5907 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.3234, allocations: 331.2 kB / 0.591 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.032e-05/0.3235, allocations: 19.44 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.3235, allocations: 16.86 kB / 0.5911 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.3236, allocations: 84.2 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3236, allocations: 30.56 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3236, allocations: 0 / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.3237, allocations: 41.59 kB / 0.5912 GB, free: 20.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3238, allocations: 52.31 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.3238, allocations: 97.86 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-06/0.3238, allocations: 30.42 kB / 0.5914 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.3239, allocations: 88.03 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-06/0.3239, allocations: 1.625 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.3239, allocations: 17.72 kB / 0.5915 GB, free: 20.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.3239, allocations: 318.7 kB / 0.5918 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.324, allocations: 9.609 kB / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.324, allocations: 17.91 kB / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.324, allocations: 16.16 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.324, allocations: 4 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.89e-05/0.3241, allocations: 53.56 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3241, allocations: 4 kB / 0.5919 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3241, allocations: 2.344 kB / 0.5919 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3241, allocations: 7.984 kB / 0.5919 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.3242, allocations: 4 kB / 0.5919 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3242, allocations: 0 / 0.5919 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.3242, allocations: 15.77 kB / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3242, allocations: 8.562 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.337e-05/0.3243, allocations: 110.3 kB / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3243, allocations: 6.312 kB / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.3244, allocations: 112.9 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.3244, allocations: 196.3 kB / 0.5923 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.3244, allocations: 181.4 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.3245, allocations: 177 kB / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3246, allocations: 413.9 kB / 0.5931 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.3246, allocations: 102.8 kB / 0.5932 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.3246, allocations: 101 kB / 0.5933 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.3247, allocations: 184.2 kB / 0.5934 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.3247, allocations: 185.5 kB / 0.5936 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/0.3247, allocations: 180.2 kB / 0.5938 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/0.3247, allocations: 178 kB / 0.594 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.409e-05/0.3248, allocations: 313.4 kB / 0.5942 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3248, allocations: 182.1 kB / 0.5944 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.3249, allocations: 184.9 kB / 0.5946 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.325, allocations: 109.8 kB / 0.5947 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.3251, allocations: 177.2 kB / 0.5949 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3251, allocations: 104.9 kB / 0.595 GB, free: 16.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.74e-05/0.3251, allocations: 88 kB / 0.5951 GB, free: 16.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3251, allocations: 0.625 kB / 0.5951 GB, free: 16.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3254, allocations: 15.98 kB / 0.5951 GB, free: 16.51 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.0001659/0.3255, allocations: 197.2 kB / 0.5953 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.3256, allocations: 7.984 kB / 0.5953 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3256, allocations: 0.9375 kB / 0.5953 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.3256, allocations: 7.938 kB / 0.5953 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3259, allocations: 464 kB / 0.5957 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.3261, allocations: 184.3 kB / 0.5959 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.3262, allocations: 0.6768 MB / 0.5966 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.3262, allocations: 11.94 kB / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.3263, allocations: 12.66 kB / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3263, allocations: 0 / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002314/0.3286, allocations: 0.6377 MB / 0.5972 GB, free: 14.31 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)