Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001066/0.001066, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.238/1.238, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05006/0.05006, allocations: 9.088 MB / 278.5 MB, free: 12.35 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.001228/0.001228, allocations: 59.91 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06945/0.07069, allocations: 48.18 MB / 385.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01575/0.08649, allocations: 16.88 MB / 402.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008637/0.09516, allocations: 10.46 MB / 413 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.09522, allocations: 0 / 413 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.09589, allocations: 259.6 kB / 413.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.09593, allocations: 23.91 kB / 413.3 MB, free: 13.85 MB / 318.1 MB [/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.01152/0.1075, allocations: 5.242 MB / 418.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.1076, allocations: 47.73 kB / 418.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1076, allocations: 4 kB / 418.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.1077, allocations: 31.8 kB / 418.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.1077, allocations: 15.94 kB / 418.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1078, allocations: 0 / 418.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1551/0.2628, allocations: 8.528 MB / 427.2 MB, free: 21.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2629, allocations: 4.906 kB / 427.2 MB, free: 21.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.2629, allocations: 15.39 kB / 427.2 MB, free: 21.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009813/0.2728, allocations: 3.632 MB / 430.8 MB, free: 21.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2728, allocations: 3.281 kB / 430.8 MB, free: 21.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2728, allocations: 0 / 430.8 MB, free: 21.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2728, allocations: 2.938 kB / 430.8 MB, free: 21.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00293/0.2758, allocations: 0.7469 MB / 431.6 MB, free: 21.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2758, allocations: 9.812 kB / 431.6 MB, free: 21.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.2759, allocations: 5.438 kB / 431.6 MB, free: 21.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.434e-05/0.276, allocations: 161 kB / 431.8 MB, free: 21.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.276, allocations: 1.156 kB / 431.8 MB, free: 21.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.276, allocations: 3.594 kB / 431.8 MB, free: 21.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.2761, allocations: 38.23 kB / 431.8 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2761, allocations: 0 / 431.8 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2761, allocations: 3.594 kB / 431.8 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2761, allocations: 2.531 kB / 431.8 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.2762, allocations: 14.22 kB / 431.8 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2763, allocations: 175.2 kB / 432 MB, free: 20.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.2764, allocations: 36.64 kB / 432 MB, free: 20.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.2764, allocations: 23.5 kB / 432 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05198/0.3284, allocations: 33.04 MB / 465.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3284, allocations: 31.91 kB / 465.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.3285, allocations: 0 / 465.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001769/0.3286, allocations: 79.39 kB / 465.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3287, allocations: 51.41 kB / 465.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.3287, allocations: 93.23 kB / 465.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3288, allocations: 25.7 kB / 465.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3288, allocations: 86.67 kB / 465.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3288, allocations: 19.34 kB / 465.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.3289, allocations: 15.33 kB / 465.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3289, allocations: 317.5 kB / 465.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.329, allocations: 13.86 kB / 465.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.329, allocations: 9.219 kB / 465.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.329, allocations: 32.48 kB / 465.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.329, allocations: 0 / 465.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.166e-05/0.3291, allocations: 73.7 kB / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3291, allocations: 4.406 kB / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3291, allocations: 1.062 kB / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3292, allocations: 0 / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.3292, allocations: 4.188 kB / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3292, allocations: 0 / 465.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.3292, allocations: 11.34 kB / 465.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3292, allocations: 2.953 kB / 465.9 MB, free: 6.559 MB / 334.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.856e-05/0.3293, allocations: 110.9 kB / 466 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.3293, allocations: 12.61 kB / 466.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3294, allocations: 175.1 kB / 466.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.3295, allocations: 177.5 kB / 466.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-05/0.3296, allocations: 185.7 kB / 466.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-05/0.3296, allocations: 177.4 kB / 466.8 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.33, allocations: 418.3 kB / 467.2 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.33, allocations: 105.2 kB / 467.3 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.33, allocations: 102.4 kB / 467.4 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.657e-05/0.3301, allocations: 182 kB / 467.5 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/0.3302, allocations: 181.5 kB / 467.7 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.3302, allocations: 181.3 kB / 467.9 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-05/0.3303, allocations: 184.5 kB / 468.1 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3304, allocations: 311.1 kB / 468.4 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3305, allocations: 185.5 kB / 468.6 MB, free: 19.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.3305, allocations: 179 kB / 468.7 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.3306, allocations: 108.5 kB / 468.8 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3307, allocations: 180.6 kB / 469 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.3307, allocations: 108.9 kB / 469.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.3308, allocations: 102.2 kB / 469.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3308, allocations: 0 / 469.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002955/0.3338, allocations: 0.8642 MB / 470.1 MB, free: 19.02 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: 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.003296/0.3371, allocations: 1.415 MB / 471.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.3372, allocations: 18.59 kB / 471.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3372, allocations: 0 / 471.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.3372, allocations: 3.562 kB / 471.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.3377, allocations: 491 kB / 472 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.3379, allocations: 210 kB / 472.2 MB, free: 18.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3382, allocations: 0.6839 MB / 472.9 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.3382, allocations: 3.562 kB / 472.9 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.3382, allocations: 14.69 kB / 472.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3382, allocations: 0 / 472.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of Templates: time 0.0283/0.3665, allocations: 23.48 MB / 496.4 MB, free: 13.59 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)