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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 192 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.748/0.748, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.16 kB / 0.5017 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 80.2 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005466/0.3903, allocations: 4.01 MB / 0.584 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.3905, allocations: 159.1 kB / 0.5841 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3906, allocations: 0 / 0.5841 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3907, allocations: 9.625 kB / 0.5841 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.3908, allocations: 12.92 kB / 0.5842 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3911, allocations: 78.45 kB / 0.5842 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.3912, allocations: 37.53 kB / 0.5843 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.3913, allocations: 1.562 kB / 0.5843 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.3913, allocations: 11.72 kB / 0.5843 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.3914, allocations: 24.17 kB / 0.5843 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3914, allocations: 1.219 kB / 0.5843 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3916, allocations: 57.48 kB / 0.5844 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.3917, allocations: 12.11 kB / 0.5844 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.3917, allocations: 10.03 kB / 0.5844 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.3919, allocations: 42.17 kB / 0.5844 GB, free: 1.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3919, allocations: 0 / 0.5844 GB, free: 1.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3919, allocations: 0 / 0.5844 GB, free: 1.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3919, allocations: 1.219 kB / 0.5844 GB, free: 1.383 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.0003759/0.3923, allocations: 344.1 kB / 0.5848 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3923, allocations: 9.875 kB / 0.5848 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.3924, allocations: 2.844 kB / 0.5848 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.3925, allocations: 163 kB / 0.5849 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.3925, allocations: 27.7 kB / 0.5849 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3925, allocations: 2.406 kB / 0.585 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3927, allocations: 52.59 kB / 0.585 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3927, allocations: 0 / 0.585 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3927, allocations: 0.7188 kB / 0.585 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3927, allocations: 9.438 kB / 0.585 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.3928, allocations: 13.22 kB / 0.585 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3931, allocations: 336.6 kB / 0.5853 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.958e-05/0.3932, allocations: 17.42 kB / 0.5854 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.3932, allocations: 9.422 kB / 0.5854 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.248e-05/0.3933, allocations: 85.03 kB / 0.5855 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3933, allocations: 43.95 kB / 0.5855 GB, free: 196 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3933, allocations: 0 / 0.5855 GB, free: 196 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.3934, allocations: 37.7 kB / 0.5855 GB, free: 160 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3934, allocations: 52.02 kB / 0.5856 GB, free: 96 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.3935, allocations: 103 kB / 0.5857 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3936, allocations: 25.7 kB / 0.5857 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3936, allocations: 86.08 kB / 0.5858 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-06/0.3936, allocations: 8.938 kB / 0.5858 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.3937, allocations: 15.41 kB / 0.5858 GB, free: 15.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3938, allocations: 316.8 kB / 0.5861 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.3938, allocations: 3.438 kB / 0.5861 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.3938, allocations: 22.95 kB / 0.5861 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.3939, allocations: 22.25 kB / 0.5862 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3939, allocations: 4 kB / 0.5862 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.371e-05/0.394, allocations: 45.2 kB / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.394, allocations: 8.578 kB / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.394, allocations: 0 / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.394, allocations: 1.344 kB / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.394, allocations: 5.109 kB / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3941, allocations: 1.562 kB / 0.5862 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.3941, allocations: 14.16 kB / 0.5862 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.3941, allocations: 1.156 kB / 0.5862 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 6.389e-05/0.3942, allocations: 118.6 kB / 0.5863 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3942, allocations: 2.016 kB / 0.5863 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3943, allocations: 122 kB / 0.5865 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.864e-05/0.3944, allocations: 186.2 kB / 0.5866 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/0.3944, allocations: 178.2 kB / 0.5868 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-05/0.3945, allocations: 190.2 kB / 0.587 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3947, allocations: 406.8 kB / 0.5874 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.3948, allocations: 106.3 kB / 0.5875 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.3948, allocations: 103.1 kB / 0.5876 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.255e-05/0.3949, allocations: 182.5 kB / 0.5878 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.3949, allocations: 182 kB / 0.5879 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/0.395, allocations: 185.8 kB / 0.5881 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.399e-05/0.3951, allocations: 185.7 kB / 0.5883 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.3952, allocations: 305.6 kB / 0.5886 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.3953, allocations: 181 kB / 0.5887 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3954, allocations: 187.1 kB / 0.5889 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3955, allocations: 109.8 kB / 0.589 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.3956, allocations: 178.9 kB / 0.5892 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3956, allocations: 105.8 kB / 0.5893 GB, free: 12.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.3957, allocations: 90.38 kB / 0.5894 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3957, allocations: 0 / 0.5894 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000234/0.3959, allocations: 12.77 kB / 0.5894 GB, free: 12.05 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.0002347/0.3962, allocations: 202 kB / 0.5896 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.175e-05/0.3962, allocations: 6.859 kB / 0.5896 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3963, allocations: 0 / 0.5896 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.624e-06/0.3963, allocations: 2.031 kB / 0.5896 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.0003708/0.3966, allocations: 467.3 kB / 0.59 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.3969, allocations: 189 kB / 0.5902 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3971, allocations: 0.6742 MB / 0.5909 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.3972, allocations: 9.484 kB / 0.5909 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.3972, allocations: 9.281 kB / 0.5909 GB, free: 10.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3972, allocations: 0 / 0.5909 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002647/0.3999, allocations: 0.6306 MB / 0.5915 GB, free: 10.43 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)