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.001102/0.001102, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001108/0.001108, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04649/0.04649, allocations: 9.089 MB / 279.6 MB, free: 2.973 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.0027/0.0027, allocations: 68.45 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2109, allocations: 48.15 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01431/0.2252, allocations: 16.89 MB / 404.5 MB, free: 39.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007132/0.2324, allocations: 10.46 MB / 415 MB, free: 30.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.2324, allocations: 1.406 kB / 415 MB, free: 30.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.2331, allocations: 268.7 kB / 415.2 MB, free: 30.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.2331, allocations: 25.73 kB / 415.3 MB, free: 30.41 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.01144/0.2446, allocations: 5.749 MB / 421 MB, free: 26.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.2446, allocations: 59.72 kB / 421.1 MB, free: 26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2447, allocations: 0 / 421.1 MB, free: 26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.2448, allocations: 35.8 kB / 421.1 MB, free: 25.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.2448, allocations: 11.94 kB / 421.1 MB, free: 25.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.2448, allocations: 0 / 421.1 MB, free: 25.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.2551, allocations: 8.753 MB / 429.9 MB, free: 17.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.2552, allocations: 8 kB / 429.9 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2552, allocations: 11.94 kB / 429.9 MB, free: 17.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.2608, allocations: 3.61 MB / 433.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2608, allocations: 0 / 433.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2608, allocations: 3.938 kB / 433.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2609, allocations: 4 kB / 433.5 MB, free: 13.54 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.0009271/0.2618, allocations: 0.7494 MB / 434.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2618, allocations: 8.031 kB / 434.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.2619, allocations: 7.844 kB / 434.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.7e-05/0.2619, allocations: 167.1 kB / 434.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2619, allocations: 0 / 434.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.262, allocations: 8 kB / 434.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.116e-05/0.262, allocations: 40.58 kB / 434.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.2621, allocations: 0 / 434.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.2621, allocations: 0 / 434.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2621, allocations: 3.984 kB / 434.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.2621, allocations: 15.88 kB / 434.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.2622, allocations: 165.7 kB / 434.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.2623, allocations: 31.56 kB / 434.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2623, allocations: 28.88 kB / 434.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04929/0.3116, allocations: 33.02 MB / 467.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3117, allocations: 34.55 kB / 467.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.3117, allocations: 4 kB / 467.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001875/0.3119, allocations: 77.56 kB / 467.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3119, allocations: 51.41 kB / 467.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.312, allocations: 97.84 kB / 468 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.312, allocations: 29.7 kB / 468 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.312, allocations: 80.14 kB / 468.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.3121, allocations: 19.66 kB / 468.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3121, allocations: 17.86 kB / 468.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.3122, allocations: 318.8 kB / 468.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.3122, allocations: 15.98 kB / 468.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.3123, allocations: 15.92 kB / 468.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.3123, allocations: 37.09 kB / 468.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3123, allocations: 0 / 468.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.686e-05/0.3124, allocations: 65.59 kB / 468.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3124, allocations: 4 kB / 468.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3124, allocations: 3.938 kB / 468.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3124, allocations: 4 kB / 468.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3125, allocations: 8 kB / 468.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3125, allocations: 3.984 kB / 468.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.3125, allocations: 3.938 kB / 468.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3125, allocations: 0 / 468.6 MB, free: 4.414 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: 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.998e-05/0.3126, allocations: 109.8 kB / 468.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.3126, allocations: 0 / 468.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3127, allocations: 174.7 kB / 468.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/0.3128, allocations: 188.2 kB / 469.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.502e-05/0.3129, allocations: 180.2 kB / 469.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/0.3129, allocations: 176.3 kB / 469.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3131, allocations: 409.1 kB / 469.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/0.3132, allocations: 113.5 kB / 469.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.3132, allocations: 105 kB / 470 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.693e-05/0.3133, allocations: 184.2 kB / 470.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.3133, allocations: 180.2 kB / 470.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-05/0.3134, allocations: 181.1 kB / 470.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.277e-05/0.3134, allocations: 184.2 kB / 470.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.3136, allocations: 307.8 kB / 471.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.3136, allocations: 178.1 kB / 471.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.3137, allocations: 188.2 kB / 471.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.3138, allocations: 108.9 kB / 471.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.3138, allocations: 176.3 kB / 471.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3139, allocations: 115.3 kB / 471.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.565e-05/0.314, allocations: 103.2 kB / 471.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.314, allocations: 0 / 471.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001743/0.3157, allocations: 0.8627 MB / 472.8 MB, free: 28 kB / 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.002923/0.3186, allocations: 1.414 MB / 474.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.3187, allocations: 19.94 kB / 474.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3187, allocations: 4.062 kB / 474.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.3188, allocations: 3.984 kB / 474.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.3192, allocations: 480.4 kB / 474.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.3195, allocations: 214.8 kB / 474.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.3197, allocations: 0.6845 MB / 475.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.3198, allocations: 0 / 475.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.3198, allocations: 11.44 kB / 475.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3198, allocations: 0 / 475.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of Templates: time 0.03059/0.3504, allocations: 23.45 MB / 499 MB, free: 5.715 MB / 382.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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)