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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08043/0.08043, allocations: 9.096 MB / 25.83 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 91.33 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 47.92 kB / 341.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1934, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01371/0.2071, allocations: 17.23 MB / 406.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007271/0.2144, allocations: 11.39 MB / 417.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.2145, allocations: 0 / 417.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005616/0.2151, allocations: 241.5 kB / 418.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.2152, allocations: 39.7 kB / 418.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.2254, allocations: 4.803 MB / 422.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.2255, allocations: 79.48 kB / 423 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.2255, allocations: 15.98 kB / 423 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.554e-05/0.2256, allocations: 35.8 kB / 423.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.531e-05/0.2257, allocations: 15.94 kB / 423.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.2257, allocations: 0 / 423.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.2363, allocations: 7.912 MB / 431 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2364, allocations: 3.938 kB / 431 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.2365, allocations: 23.88 kB / 431 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009907/0.2464, allocations: 3.524 MB / 434.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2464, allocations: 4 kB / 434.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2465, allocations: 0 / 434.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2465, allocations: 0 / 434.5 MB, free: 9.094 MB / 314.7 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.001643/0.2481, allocations: 0.7915 MB / 435.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2482, allocations: 8.031 kB / 435.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2482, allocations: 15.84 kB / 435.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2483, allocations: 163.1 kB / 435.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.2483, allocations: 0 / 435.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2483, allocations: 4 kB / 435.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.2485, allocations: 57.67 kB / 435.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2485, allocations: 0 / 435.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2485, allocations: 0 / 435.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2485, allocations: 0 / 435.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.2486, allocations: 35.86 kB / 435.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.2488, allocations: 181.5 kB / 435.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.2488, allocations: 54.5 kB / 435.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.2489, allocations: 40.88 kB / 435.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06564/0.3145, allocations: 41.4 MB / 477.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3146, allocations: 38.5 kB / 477.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.3146, allocations: 3.938 kB / 477.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002428/0.3149, allocations: 125.6 kB / 477.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3149, allocations: 55.39 kB / 477.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.315, allocations: 97.86 kB / 477.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.315, allocations: 25.7 kB / 477.6 MB, free: 6.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.315, allocations: 80.14 kB / 477.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.3151, allocations: 43.52 kB / 477.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3151, allocations: 21.72 kB / 477.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.3152, allocations: 318.8 kB / 478.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.3153, allocations: 23.98 kB / 478.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.3153, allocations: 28 kB / 478.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.3154, allocations: 68.77 kB / 478.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3154, allocations: 3.938 kB / 478.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001058/0.3155, allocations: 90.09 kB / 478.3 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3155, allocations: 11.98 kB / 478.3 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3155, allocations: 8 kB / 478.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3155, allocations: 0 / 478.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3155, allocations: 0 / 478.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3155, allocations: 0 / 478.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.3156, allocations: 3.938 kB / 478.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3156, allocations: 4 kB / 478.3 MB, free: 5.766 MB / 362.7 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.88e-05/0.3157, allocations: 109.8 kB / 478.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.3157, allocations: 11.84 kB / 478.4 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.3159, allocations: 155.6 kB / 478.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3159, allocations: 0 / 478.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3159, allocations: 0 / 478.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3159, allocations: 0 / 478.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.3161, allocations: 181.5 kB / 478.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3161, allocations: 3.938 kB / 478.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3161, allocations: 0 / 478.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3161, allocations: 7.969 kB / 478.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3161, allocations: 0 / 478.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3161, allocations: 0 / 478.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3161, allocations: 8 kB / 478.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3165, allocations: 0.6629 MB / 479.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3165, allocations: 81.11 kB / 479.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3166, allocations: 11.88 kB / 479.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.3166, allocations: 0 / 479.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.3166, allocations: 0 / 479.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3166, allocations: 0 / 479.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.3167, allocations: 107.2 kB / 479.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3167, allocations: 0 / 479.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002115/0.3188, allocations: 0.8745 MB / 480.5 MB, free: 3.402 MB / 362.7 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.003462/0.3223, allocations: 1.358 MB / 481.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3224, allocations: 63.86 kB / 481.9 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3224, allocations: 0 / 481.9 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.3225, allocations: 16 kB / 482 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3229, allocations: 56 kB / 482 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.3233, allocations: 292.3 kB / 482.3 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3235, allocations: 0.6887 MB / 483 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.3236, allocations: 7.984 kB / 483 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.3236, allocations: 15.38 kB / 483 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3236, allocations: 0 / 483 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of Templates: time 0.03155/0.3551, allocations: 24.03 MB / 0.4951 GB, free: 8.785 MB / 394.7 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)