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.001188/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001436/0.001436, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7383/0.7383, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 55.22 kB / 0.5011 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.41, allocations: 80.21 MB / 0.5794 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00491/0.415, allocations: 4.045 MB / 0.5834 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.4152, allocations: 158.7 kB / 0.5835 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.4152, allocations: 0 / 0.5835 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.4154, allocations: 6.891 kB / 0.5835 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.4154, allocations: 11.81 kB / 0.5835 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.4157, allocations: 78.22 kB / 0.5836 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.4158, allocations: 57.8 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.4159, allocations: 6.578 kB / 0.5837 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.4159, allocations: 18.36 kB / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.416, allocations: 14.09 kB / 0.5837 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.416, allocations: 1.156 kB / 0.5837 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.4162, allocations: 72.08 kB / 0.5838 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.4163, allocations: 12.94 kB / 0.5838 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.4163, allocations: 10.56 kB / 0.5838 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.4164, allocations: 44.8 kB / 0.5838 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4165, allocations: 0 / 0.5838 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4165, allocations: 1 kB / 0.5838 GB, free: 1.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.4165, allocations: 3.938 kB / 0.5838 GB, free: 1.387 MB / 430.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.0003226/0.4168, allocations: 340.1 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4168, allocations: 10.23 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.4169, allocations: 2.062 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.77e-05/0.417, allocations: 170.5 kB / 0.5843 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.417, allocations: 32.91 kB / 0.5844 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.417, allocations: 1.75 kB / 0.5844 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4172, allocations: 53.03 kB / 0.5844 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4172, allocations: 0 / 0.5844 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4172, allocations: 0.9688 kB / 0.5844 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4172, allocations: 5.875 kB / 0.5844 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.4173, allocations: 17.06 kB / 0.5844 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.4177, allocations: 336.3 kB / 0.5848 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.4177, allocations: 21.38 kB / 0.5848 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.4177, allocations: 5.797 kB / 0.5848 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.4178, allocations: 84.31 kB / 0.5849 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4178, allocations: 31.86 kB / 0.5849 GB, free: 204 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4178, allocations: 0 / 0.5849 GB, free: 204 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.418, allocations: 41.83 kB / 0.5849 GB, free: 164 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4181, allocations: 60.09 kB / 0.585 GB, free: 92 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.4182, allocations: 99.3 kB / 0.5851 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4182, allocations: 25.7 kB / 0.5851 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.4183, allocations: 89.92 kB / 0.5852 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.4183, allocations: 1.156 kB / 0.5852 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.4183, allocations: 16.03 kB / 0.5852 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4184, allocations: 323.6 kB / 0.5855 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.4185, allocations: 3.75 kB / 0.5855 GB, free: 15.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.4185, allocations: 15.2 kB / 0.5855 GB, free: 15.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.4185, allocations: 20.72 kB / 0.5856 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4186, allocations: 0.8438 kB / 0.5856 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.718e-05/0.4186, allocations: 49.77 kB / 0.5856 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4187, allocations: 9.344 kB / 0.5856 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4187, allocations: 5.828 kB / 0.5856 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4187, allocations: 1 kB / 0.5856 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.4188, allocations: 9.203 kB / 0.5856 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4188, allocations: 1.031 kB / 0.5856 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.4188, allocations: 9.25 kB / 0.5856 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4188, allocations: 1.984 kB / 0.5857 GB, free: 15.44 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 8.789e-05/0.4189, allocations: 117.7 kB / 0.5858 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.4189, allocations: 2.156 kB / 0.5858 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.4191, allocations: 122.1 kB / 0.5859 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.636e-05/0.4191, allocations: 182.2 kB / 0.5861 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.568e-05/0.4192, allocations: 178.4 kB / 0.5862 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.402e-05/0.4193, allocations: 182.1 kB / 0.5864 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.4196, allocations: 416 kB / 0.5868 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/0.4196, allocations: 102.8 kB / 0.5869 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.4197, allocations: 106 kB / 0.587 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.035e-05/0.4198, allocations: 178.2 kB / 0.5872 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.4198, allocations: 177.5 kB / 0.5873 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.791e-05/0.4199, allocations: 187 kB / 0.5875 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.009e-05/0.42, allocations: 182.1 kB / 0.5877 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.4202, allocations: 309.2 kB / 0.588 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.4203, allocations: 184.5 kB / 0.5882 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4204, allocations: 183.2 kB / 0.5883 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.4206, allocations: 106.6 kB / 0.5884 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.4207, allocations: 184.8 kB / 0.5886 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.4207, allocations: 102.5 kB / 0.5887 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.4208, allocations: 87.2 kB / 0.5888 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4208, allocations: 0 / 0.5888 GB, free: 12.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4211, allocations: 12.67 kB / 0.5888 GB, free: 12.06 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.0003328/0.4214, allocations: 201 kB / 0.589 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.4215, allocations: 11.19 kB / 0.589 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.4215, allocations: 5 kB / 0.589 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.4215, allocations: 0 / 0.589 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.422, allocations: 0.5243 MB / 0.5895 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.4223, allocations: 192.5 kB / 0.5897 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4226, allocations: 0.6784 MB / 0.5904 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.4226, allocations: 9.203 kB / 0.5904 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.4226, allocations: 9.469 kB / 0.5904 GB, free: 10.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.474e-06/0.4226, allocations: 4 kB / 0.5904 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002892/0.4255, allocations: 0.6185 MB / 0.591 GB, free: 10.36 MB / 446.1 MB 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)