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.005765/0.005766, allocations: 101 kB / 15.73 MB, free: 6.039 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.00137/0.00137, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.212/1.212, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04256/0.04256, allocations: 9.1 MB / 279 MB, free: 12.09 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.001294/0.001294, allocations: 63.91 kB / 387.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2313, allocations: 48.17 MB / 435.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01773/0.2491, allocations: 16.89 MB / 452.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2598, allocations: 10.46 MB / 463 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2599, allocations: 1.188 kB / 463 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.2607, allocations: 305.3 kB / 463.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.2608, allocations: 27.31 kB / 463.3 MB, free: 2.34 MB / 334.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.0159/0.2767, allocations: 6.016 MB / 469.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2768, allocations: 49.08 kB / 469.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2769, allocations: 2.344 kB / 469.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.277, allocations: 35.61 kB / 469.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.2771, allocations: 18.86 kB / 469.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-06/0.2771, allocations: 0 / 469.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/0.2928, allocations: 8.745 MB / 478.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.2928, allocations: 7.984 kB / 478.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.2929, allocations: 19.88 kB / 478.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007803/0.3007, allocations: 3.621 MB / 481.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3007, allocations: 0 / 481.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3007, allocations: 0 / 481.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3007, allocations: 0 / 481.8 MB, free: 2.441 MB / 350.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.001398/0.3021, allocations: 0.7448 MB / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3022, allocations: 12.03 kB / 482.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.3022, allocations: 7.938 kB / 482.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3023, allocations: 163 kB / 482.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3024, allocations: 4 kB / 482.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.3024, allocations: 4 kB / 482.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3025, allocations: 45.62 kB / 482.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3025, allocations: 4 kB / 482.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.3025, allocations: 0 / 482.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3025, allocations: 0 / 482.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.3026, allocations: 15.88 kB / 482.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3027, allocations: 169.5 kB / 483 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.3028, allocations: 34.56 kB / 483 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.3028, allocations: 24.88 kB / 483 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05016/0.353, allocations: 33.03 MB / 0.5039 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3531, allocations: 42.5 kB / 0.504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.073e-06/0.3531, allocations: 0 / 0.504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.3533, allocations: 73.61 kB / 0.5041 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3534, allocations: 55.41 kB / 0.5041 GB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.3534, allocations: 93.86 kB / 0.5042 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3535, allocations: 25.7 kB / 0.5042 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.3535, allocations: 84.14 kB / 0.5043 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3535, allocations: 15.7 kB / 0.5043 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3536, allocations: 21.88 kB / 0.5043 GB, free: 9.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3537, allocations: 310.8 kB / 0.5046 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.3537, allocations: 19.92 kB / 0.5047 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.3538, allocations: 12 kB / 0.5047 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.3538, allocations: 32.84 kB / 0.5047 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3538, allocations: 0 / 0.5047 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.026e-05/0.3539, allocations: 69.58 kB / 0.5048 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3539, allocations: 4 kB / 0.5048 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3539, allocations: 3.938 kB / 0.5048 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.354, allocations: 4.062 kB / 0.5048 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-06/0.354, allocations: 3.984 kB / 0.5048 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.354, allocations: 0 / 0.5048 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.354, allocations: 7.938 kB / 0.5048 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.354, allocations: 0 / 0.5048 GB, free: 9.301 MB / 398.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 7.959e-05/0.3541, allocations: 113.7 kB / 0.5049 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.3541, allocations: 4 kB / 0.5049 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.3543, allocations: 170.8 kB / 0.5051 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-05/0.3544, allocations: 184.3 kB / 0.5052 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-05/0.3544, allocations: 184.2 kB / 0.5054 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-05/0.3545, allocations: 176.3 kB / 0.5056 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3547, allocations: 421 kB / 0.506 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.3548, allocations: 101 kB / 0.5061 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.3548, allocations: 112.9 kB / 0.5062 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.316e-05/0.3549, allocations: 176.3 kB / 0.5064 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.3549, allocations: 188.1 kB / 0.5065 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.355, allocations: 184.2 kB / 0.5067 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.104e-05/0.3551, allocations: 180.3 kB / 0.5069 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3552, allocations: 311.8 kB / 0.5072 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.3553, allocations: 182.1 kB / 0.5074 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3554, allocations: 192.1 kB / 0.5075 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.3554, allocations: 101 kB / 0.5076 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.3555, allocations: 180.2 kB / 0.5078 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.3556, allocations: 105.3 kB / 0.5079 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.3556, allocations: 103.3 kB / 0.508 GB, free: 5.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3556, allocations: 0 / 0.508 GB, free: 5.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00181/0.3574, allocations: 0.8549 MB / 0.5088 GB, free: 4.91 MB / 398.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.002882/0.3603, allocations: 1.419 MB / 0.5102 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.3604, allocations: 16 kB / 0.5102 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3604, allocations: 4.062 kB / 0.5102 GB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3604, allocations: 3.938 kB / 0.5102 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3609, allocations: 484.2 kB / 0.5107 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.3612, allocations: 218.9 kB / 0.5109 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3614, allocations: 0.6768 MB / 0.5116 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.785e-05/0.3614, allocations: 4 kB / 0.5116 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.3614, allocations: 11.44 kB / 0.5116 GB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3614, allocations: 0 / 0.5116 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Templates: time 0.02838/0.3898, allocations: 23.43 MB / 0.5345 GB, free: 10.56 MB / 430.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)