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.00101/0.00101, 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.001037/0.001037, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.234/1.234, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04204/0.04204, allocations: 9.085 MB / 278.4 MB, free: 12.39 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.001246/0.001246, allocations: 63.91 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06596/0.06722, allocations: 48.18 MB / 385.5 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01639/0.08365, allocations: 17.23 MB / 402.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.09319, allocations: 11.39 MB / 414.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.09326, allocations: 0 / 414.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.09388, allocations: 243.6 kB / 414.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.09394, allocations: 27.83 kB / 414.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.1045, allocations: 4.813 MB / 419.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.1046, allocations: 83.53 kB / 419.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1047, allocations: 0 / 419.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.1047, allocations: 35.8 kB / 419.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.1048, allocations: 19.88 kB / 419.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1048, allocations: 4 kB / 419.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1407/0.2455, allocations: 7.907 MB / 427.3 MB, free: 20.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2455, allocations: 4.469 kB / 427.3 MB, free: 20.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.2456, allocations: 26.09 kB / 427.3 MB, free: 20.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008053/0.2537, allocations: 3.527 MB / 430.8 MB, free: 20.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2537, allocations: 1.312 kB / 430.8 MB, free: 20.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2537, allocations: 1.125 kB / 430.8 MB, free: 20.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2537, allocations: 0 / 430.8 MB, free: 20.78 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.001745/0.2555, allocations: 0.7845 MB / 431.6 MB, free: 20.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2555, allocations: 8.75 kB / 431.6 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.2555, allocations: 8.594 kB / 431.6 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.2556, allocations: 170.8 kB / 431.8 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.2556, allocations: 0.5938 kB / 431.8 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2557, allocations: 4.594 kB / 431.8 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2558, allocations: 55 kB / 431.8 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2558, allocations: 0 / 431.8 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2558, allocations: 1.781 kB / 431.8 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2558, allocations: 3.906 kB / 431.8 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.2559, allocations: 35.89 kB / 431.9 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.256, allocations: 179 kB / 432.1 MB, free: 19.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.2561, allocations: 53.7 kB / 432.1 MB, free: 19.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.2561, allocations: 40.11 kB / 432.1 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06149/0.3176, allocations: 41.4 MB / 473.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3177, allocations: 30.56 kB / 473.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.3177, allocations: 0 / 473.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002414/0.3179, allocations: 122.6 kB / 473.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.318, allocations: 55.44 kB / 473.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.318, allocations: 104.5 kB / 473.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3181, allocations: 25.7 kB / 473.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.3181, allocations: 82.72 kB / 474 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3181, allocations: 42.92 kB / 474 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.3182, allocations: 20.41 kB / 474 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.3183, allocations: 321.9 kB / 474.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.3183, allocations: 23.88 kB / 474.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.3183, allocations: 30.88 kB / 474.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.3184, allocations: 64.41 kB / 474.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3184, allocations: 0 / 474.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.695e-05/0.3185, allocations: 99.02 kB / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3185, allocations: 5.969 kB / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3185, allocations: 0 / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3186, allocations: 0 / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3186, allocations: 0 / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3186, allocations: 0 / 474.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.3186, allocations: 6.266 kB / 474.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3186, allocations: 8 kB / 474.6 MB, free: 13.12 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 6.53e-05/0.3187, allocations: 109.7 kB / 474.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.3187, allocations: 12.58 kB / 474.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3189, allocations: 155.7 kB / 474.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3189, allocations: 3.984 kB / 474.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3189, allocations: 4.031 kB / 474.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3189, allocations: 0 / 474.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.319, allocations: 175.8 kB / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3191, allocations: 3.984 kB / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.3191, allocations: 0 / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3191, allocations: 0 / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3191, allocations: 7.25 kB / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3191, allocations: 0 / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3191, allocations: 0 / 475 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.96e-05/0.3192, allocations: 99.03 kB / 475.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3192, allocations: 77.66 kB / 475.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3192, allocations: 3.938 kB / 475.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3193, allocations: 3.562 kB / 475.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3193, allocations: 8.719 kB / 475.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3193, allocations: 3.562 kB / 475.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.3193, allocations: 104.3 kB / 475.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3194, allocations: 0 / 475.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002557/0.3219, allocations: 0.862 MB / 476.2 MB, free: 12.24 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.0038/0.3257, allocations: 1.354 MB / 477.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.3258, allocations: 50.48 kB / 477.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3259, allocations: 3.906 kB / 477.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.3259, allocations: 18.73 kB / 477.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3263, allocations: 53.22 kB / 477.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.3266, allocations: 182.3 kB / 477.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3268, allocations: 0.6858 MB / 478.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.091e-05/0.3268, allocations: 2.109 kB / 478.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.3269, allocations: 14.88 kB / 478.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3269, allocations: 0 / 478.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Templates: time 0.02905/0.3559, allocations: 24 MB / 0.4908 GB, free: 5.371 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)