Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, 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.001181/0.001181, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0462/0.0462, allocations: 9.093 MB / 278.9 MB, free: 12.2 MB / 238.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.001425/0.001425, allocations: 72.11 kB / 338 MB, free: 25.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0715/0.07293, allocations: 48.16 MB / 386.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01788/0.09085, allocations: 16.99 MB / 403.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1016, allocations: 11.08 MB / 414.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.1017, allocations: 4 kB / 414.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.1024, allocations: 259.4 kB / 414.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1024, allocations: 35.77 kB / 414.6 MB, free: 12.77 MB / 318.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.115, allocations: 5.795 MB / 420.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1152, allocations: 75.55 kB / 420.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.1152, allocations: 4 kB / 420.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.1153, allocations: 35.8 kB / 420.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.1153, allocations: 19.92 kB / 420.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.1153, allocations: 0 / 420.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1581/0.2734, allocations: 8.274 MB / 428.8 MB, free: 20.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2735, allocations: 7.641 kB / 428.8 MB, free: 20.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.2736, allocations: 23.69 kB / 428.8 MB, free: 20.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.2837, allocations: 3.663 MB / 432.5 MB, free: 20.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2837, allocations: 1.156 kB / 432.5 MB, free: 20.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2837, allocations: 0 / 432.5 MB, free: 20.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2837, allocations: 0.7188 kB / 432.5 MB, free: 20.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002428/0.2862, allocations: 0.7837 MB / 433.2 MB, free: 20.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2862, allocations: 9.375 kB / 433.2 MB, free: 20.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.2863, allocations: 9.594 kB / 433.3 MB, free: 20.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.2863, allocations: 171.7 kB / 433.4 MB, free: 20.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2864, allocations: 1.688 kB / 433.4 MB, free: 20.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2864, allocations: 3.125 kB / 433.4 MB, free: 20.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.879e-05/0.2865, allocations: 56.16 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2865, allocations: 1.375 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2865, allocations: 0.9688 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2865, allocations: 6.031 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.2866, allocations: 27.64 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.2867, allocations: 181.4 kB / 433.7 MB, free: 19.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.2868, allocations: 53.02 kB / 433.7 MB, free: 19.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.2868, allocations: 36.38 kB / 433.8 MB, free: 19.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06171/0.3485, allocations: 41.4 MB / 475.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3486, allocations: 30.56 kB / 475.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.3486, allocations: 0 / 475.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002551/0.3489, allocations: 130.2 kB / 475.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3489, allocations: 51.41 kB / 475.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.349, allocations: 98.75 kB / 475.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.349, allocations: 25.7 kB / 475.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3491, allocations: 84.3 kB / 475.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3491, allocations: 45.33 kB / 475.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.3491, allocations: 21.14 kB / 475.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3493, allocations: 322.3 kB / 476 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.3493, allocations: 25.86 kB / 476 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.3494, allocations: 25.86 kB / 476 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.3494, allocations: 65.44 kB / 476.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3494, allocations: 0 / 476.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001051/0.3495, allocations: 97.64 kB / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3496, allocations: 5.656 kB / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3496, allocations: 0 / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3496, allocations: 2.781 kB / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.3496, allocations: 3.188 kB / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3496, allocations: 2.688 kB / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.3497, allocations: 0 / 476.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3497, allocations: 6.406 kB / 476.2 MB, free: 13.15 MB / 350.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.425e-05/0.3497, allocations: 108.3 kB / 476.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3498, allocations: 10.66 kB / 476.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.35, allocations: 160.8 kB / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.35, allocations: 4.5 kB / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.35, allocations: 0 / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.35, allocations: 0 / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3501, allocations: 174.4 kB / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3501, allocations: 32 / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.3501, allocations: 6.859 kB / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3502, allocations: 7.188 kB / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3502, allocations: 0 / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3502, allocations: 3.469 kB / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3502, allocations: 0 / 476.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.3503, allocations: 99.58 kB / 476.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3503, allocations: 77.11 kB / 476.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3504, allocations: 7.25 kB / 476.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.3504, allocations: 7.594 kB / 476.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.3504, allocations: 0 / 476.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3504, allocations: 0 / 476.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.3505, allocations: 105.2 kB / 477 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3505, allocations: 0 / 477 MB, free: 12.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002744/0.3532, allocations: 0.8609 MB / 477.8 MB, free: 12.26 MB / 350.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.004504/0.3578, allocations: 1.358 MB / 479.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.3579, allocations: 49.11 kB / 479.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3579, allocations: 4.062 kB / 479.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.3579, allocations: 19.41 kB / 479.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3583, allocations: 57.2 kB / 479.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3586, allocations: 161.6 kB / 479.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.3588, allocations: 0.6883 MB / 480.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.3589, allocations: 7.969 kB / 480.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.3589, allocations: 11.38 kB / 480.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3589, allocations: 0 / 480.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Templates: time 0.03397/0.3929, allocations: 24.07 MB / 0.4924 GB, free: 4.562 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)