Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.00103/0.00103, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04744/0.04744, allocations: 9.095 MB / 279.7 MB, free: 2.961 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 76.09 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.06944, allocations: 48.17 MB / 436.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01606/0.08553, allocations: 16.89 MB / 453.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.08743, allocations: 1.857 MB / 455 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.08749, allocations: 4 kB / 455 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.08812, allocations: 271.7 kB / 455.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.08819, allocations: 27.84 kB / 455.3 MB, free: 4.531 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.09387, allocations: 2.776 MB / 458.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.09397, allocations: 55.73 kB / 458.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.09402, allocations: 3.984 kB / 458.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.09409, allocations: 35.73 kB / 458.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.09414, allocations: 11.94 kB / 458.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.09415, allocations: 4 kB / 458.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006762/0.1009, allocations: 4.959 MB / 463.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.1009, allocations: 0 / 463.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.101, allocations: 11.94 kB / 463.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.104, allocations: 1.988 MB / 465.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1041, allocations: 0 / 465.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1041, allocations: 0 / 465.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1041, allocations: 8 kB / 465.2 MB, free: 10.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009186/0.105, allocations: 0.4991 MB / 465.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.105, allocations: 8.031 kB / 465.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1051, allocations: 0 / 465.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1052, allocations: 174.9 kB / 465.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1052, allocations: 0 / 465.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1052, allocations: 0 / 465.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.383e-05/0.1053, allocations: 41.62 kB / 465.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1053, allocations: 8 kB / 465.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1053, allocations: 0 / 465.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1054, allocations: 0 / 465.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.1054, allocations: 8 kB / 465.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1055, allocations: 173.5 kB / 466.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.1056, allocations: 38.52 kB / 466.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.1056, allocations: 24.88 kB / 466.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/0.1355, allocations: 19.35 MB / 485.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1355, allocations: 30.56 kB / 485.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.574e-06/0.1355, allocations: 0 / 485.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000196/0.1357, allocations: 81.58 kB / 485.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1358, allocations: 55.44 kB / 485.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.1358, allocations: 97.78 kB / 485.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1359, allocations: 25.7 kB / 485.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.1359, allocations: 84.14 kB / 485.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.1359, allocations: 15.72 kB / 485.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.136, allocations: 17.7 kB / 485.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.1361, allocations: 318.8 kB / 486.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.1361, allocations: 16.12 kB / 486.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.1361, allocations: 11.98 kB / 486.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.1362, allocations: 32.86 kB / 486.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1362, allocations: 0 / 486.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.807e-05/0.1363, allocations: 57.69 kB / 486.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1363, allocations: 4 kB / 486.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1363, allocations: 0 / 486.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1363, allocations: 7.875 kB / 486.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-06/0.1363, allocations: 3.984 kB / 486.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1363, allocations: 320 / 486.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1364, allocations: 12 kB / 486.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1364, allocations: 0 / 486.4 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.524e-05/0.1365, allocations: 116.8 kB / 486.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.1365, allocations: 7.906 kB / 486.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.1366, allocations: 162.9 kB / 486.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.832e-05/0.1367, allocations: 184.2 kB / 486.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/0.1367, allocations: 108.9 kB / 486.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1368, allocations: 186.1 kB / 487.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.1369, allocations: 180.2 kB / 487.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1369, allocations: 112.9 kB / 487.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.137, allocations: 184.2 kB / 487.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.104e-05/0.1371, allocations: 251.5 kB / 487.8 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001481/0.1372, allocations: 383 kB / 488.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.995e-05/0.1373, allocations: 109 kB / 488.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.1373, allocations: 99.22 kB / 488.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.1373, allocations: 0 / 488.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.1394, allocations: 0.639 MB / 489 MB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006568/0.1401, allocations: 0.9314 MB / 490 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Templates: time 0.02089/0.161, allocations: 14.17 MB / 0.4923 GB, free: 15.9 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)