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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 207.6 MB / 231.4 MB, free: 3.414 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05081/0.05081, allocations: 9.159 MB / 292.6 MB, free: 6.211 MB / 238.1 MB " [Timeout remaining time 180] 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=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "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.002195/0.002195, allocations: 71.89 kB / 409.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2757, allocations: 50.71 MB / 459.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02081/0.2965, allocations: 17.11 MB / 476.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.3089, allocations: 11.12 MB / 488.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.309, allocations: 0 / 488.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.3098, allocations: 299.2 kB / 488.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.3098, allocations: 43.75 kB / 488.4 MB, free: 10.66 MB / 350.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.01643/0.3263, allocations: 6.068 MB / 494.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3264, allocations: 83.47 kB / 494.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.3265, allocations: 4 kB / 494.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.3266, allocations: 39.8 kB / 494.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.3266, allocations: 19.92 kB / 494.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-06/0.3266, allocations: 3.938 kB / 494.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.3432, allocations: 8.788 MB / 0.4916 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.3432, allocations: 7.938 kB / 0.4916 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3433, allocations: 23.88 kB / 0.4916 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.3537, allocations: 3.663 MB / 0.4952 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3537, allocations: 3.984 kB / 0.4952 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3537, allocations: 3.938 kB / 0.4952 GB, free: 7.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3538, allocations: 0 / 0.4952 GB, free: 7.918 MB / 366.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.002066/0.3558, allocations: 0.8115 MB / 0.496 GB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3559, allocations: 8.031 kB / 0.496 GB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3559, allocations: 7.938 kB / 0.496 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.356, allocations: 163 kB / 0.4962 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3561, allocations: 4 kB / 0.4962 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3561, allocations: 4 kB / 0.4962 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3562, allocations: 57.69 kB / 0.4962 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3562, allocations: 3.938 kB / 0.4962 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3562, allocations: 0 / 0.4962 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3562, allocations: 0 / 0.4962 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.3563, allocations: 27.92 kB / 0.4963 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.3565, allocations: 185.5 kB / 0.4964 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.3566, allocations: 38.58 kB / 0.4965 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.3566, allocations: 36.88 kB / 0.4965 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07503/0.4316, allocations: 41.39 MB / 0.5369 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4317, allocations: 34.56 kB / 0.537 GB, free: 5.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.4317, allocations: 4 kB / 0.537 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003211/0.432, allocations: 133.5 kB / 0.5371 GB, free: 5.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.432, allocations: 51.41 kB / 0.5371 GB, free: 5.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.4321, allocations: 93.86 kB / 0.5372 GB, free: 5.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4322, allocations: 29.64 kB / 0.5373 GB, free: 5.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.4322, allocations: 84.14 kB / 0.5373 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4323, allocations: 43.58 kB / 0.5374 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.4323, allocations: 21.86 kB / 0.5374 GB, free: 5.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4325, allocations: 318.8 kB / 0.5377 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.4325, allocations: 31.92 kB / 0.5377 GB, free: 4.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.4326, allocations: 23.98 kB / 0.5378 GB, free: 4.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.4327, allocations: 65.3 kB / 0.5378 GB, free: 4.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4327, allocations: 0 / 0.5378 GB, free: 4.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001422/0.4328, allocations: 93.67 kB / 0.5379 GB, free: 4.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4328, allocations: 7.938 kB / 0.5379 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4328, allocations: 4 kB / 0.5379 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4329, allocations: 0 / 0.5379 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4329, allocations: 4.062 kB / 0.5379 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4329, allocations: 0 / 0.5379 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.4329, allocations: 7.953 kB / 0.5379 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4329, allocations: 4 kB / 0.5379 GB, free: 4.594 MB / 414.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 0.0001126/0.433, allocations: 109.8 kB / 0.538 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.433, allocations: 11.89 kB / 0.5381 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4333, allocations: 155.6 kB / 0.5382 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4333, allocations: 4.031 kB / 0.5382 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4333, allocations: 4 kB / 0.5382 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4333, allocations: 0 / 0.5382 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.4335, allocations: 177.5 kB / 0.5384 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4335, allocations: 0 / 0.5384 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.4335, allocations: 0 / 0.5384 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4335, allocations: 3.938 kB / 0.5384 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.4335, allocations: 0 / 0.5384 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4335, allocations: 3.938 kB / 0.5384 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4335, allocations: 4 kB / 0.5384 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.4337, allocations: 97.05 kB / 0.5385 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.4337, allocations: 77.11 kB / 0.5386 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.4338, allocations: 15.81 kB / 0.5386 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.4338, allocations: 0 / 0.5386 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.4338, allocations: 0 / 0.5386 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4338, allocations: 0 / 0.5386 GB, free: 3.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.4339, allocations: 99.27 kB / 0.5387 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4339, allocations: 0 / 0.5387 GB, free: 3.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002339/0.4362, allocations: 0.8879 MB / 0.5395 GB, free: 2.832 MB / 414.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.004584/0.4408, allocations: 1.359 MB / 0.5409 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.441, allocations: 47.98 kB / 0.5409 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.441, allocations: 0 / 0.5409 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.441, allocations: 12 kB / 0.5409 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.4415, allocations: 59.7 kB / 0.541 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.4419, allocations: 171.6 kB / 0.5411 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.4423, allocations: 0.6846 MB / 0.5418 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.4423, allocations: 0 / 0.5418 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.4423, allocations: 15.44 kB / 0.5418 GB, free: 436 kB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4423, allocations: 0 / 0.5418 GB, free: 436 kB / 414.1 MB Notification: Performance of Templates: time 0.0437/0.486, allocations: 24.08 MB / 0.5653 GB, free: 8.344 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.637224746868014]