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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 116.9 kB / 17.17 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.346/1.346, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.04865/0.04865, allocations: 9.145 MB / 291.5 MB, free: 7.172 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.89 kB / 406.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2295, allocations: 50.72 MB / 457.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01807/0.2475, allocations: 16.95 MB / 474.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.2585, allocations: 10.49 MB / 484.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.2585, allocations: 0 / 484.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.2593, allocations: 307.2 kB / 485 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.2593, allocations: 27.84 kB / 485 MB, free: 12.06 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.0149/0.2742, allocations: 6.021 MB / 491.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2743, allocations: 51.73 kB / 491.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.2744, allocations: 4 kB / 491.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.2744, allocations: 31.84 kB / 491.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.2745, allocations: 11.94 kB / 491.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.2745, allocations: 0 / 491.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.2886, allocations: 8.917 MB / 0.4884 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.2886, allocations: 3.938 kB / 0.4884 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.2887, allocations: 15.92 kB / 0.4884 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.2962, allocations: 3.624 MB / 0.4919 GB, free: 9.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2962, allocations: 0 / 0.4919 GB, free: 9.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2962, allocations: 0 / 0.4919 GB, free: 9.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2962, allocations: 0 / 0.4919 GB, free: 9.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001584/0.2978, allocations: 0.7688 MB / 0.4927 GB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2978, allocations: 15.97 kB / 0.4927 GB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/0.2978, allocations: 4 kB / 0.4927 GB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.2979, allocations: 34.55 kB / 0.4927 GB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2979, allocations: 7.891 kB / 0.4927 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.298, allocations: 175 kB / 0.4929 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.298, allocations: 0 / 0.4929 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2981, allocations: 0 / 0.4929 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2982, allocations: 37.7 kB / 0.4929 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2982, allocations: 11.92 kB / 0.4929 GB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.2982, allocations: 3.938 kB / 0.4929 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2982, allocations: 3.938 kB / 0.4929 GB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.2982, allocations: 15.94 kB / 0.493 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.2984, allocations: 157.7 kB / 0.4931 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.2985, allocations: 30.58 kB / 0.4931 GB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.2985, allocations: 16.88 kB / 0.4932 GB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05427/0.3528, allocations: 33.03 MB / 0.5254 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.3528, allocations: 42.5 kB / 0.5254 GB, free: 1.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.3528, allocations: 0 / 0.5254 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002229/0.353, allocations: 77.62 kB / 0.5255 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3531, allocations: 51.41 kB / 0.5256 GB, free: 0.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.3531, allocations: 97.84 kB / 0.5257 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3532, allocations: 25.7 kB / 0.5257 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.3532, allocations: 80.14 kB / 0.5258 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.3532, allocations: 27.78 kB / 0.5258 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3533, allocations: 17.7 kB / 0.5258 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3534, allocations: 315 kB / 0.5261 GB, free: 296 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.3534, allocations: 12 kB / 0.5261 GB, free: 284 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.3534, allocations: 15.98 kB / 0.5261 GB, free: 268 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.3535, allocations: 36.8 kB / 0.5262 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3535, allocations: 0 / 0.5262 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.135e-05/0.3536, allocations: 57.64 kB / 0.5262 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3536, allocations: 11.94 kB / 0.5262 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3536, allocations: 0 / 0.5262 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3536, allocations: 3.984 kB / 0.5262 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3536, allocations: 0 / 0.5262 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3536, allocations: 0 / 0.5262 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.3536, allocations: 4.062 kB / 0.5262 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3536, allocations: 4 kB / 0.5262 GB, free: 140 kB / 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.384e-05/0.3537, allocations: 105.8 kB / 0.5263 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.3537, allocations: 3.938 kB / 0.5264 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3539, allocations: 183 kB / 0.5265 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.171e-05/0.354, allocations: 176.3 kB / 0.5267 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.604e-05/0.3541, allocations: 184.2 kB / 0.5269 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/0.3541, allocations: 180.3 kB / 0.527 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.3544, allocations: 417.1 kB / 0.5274 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/0.3544, allocations: 112.8 kB / 0.5275 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.3545, allocations: 101 kB / 0.5276 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/0.3545, allocations: 188 kB / 0.5278 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.3546, allocations: 184.3 kB / 0.528 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.498e-05/0.3547, allocations: 176.3 kB / 0.5282 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-05/0.3547, allocations: 180.2 kB / 0.5283 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3549, allocations: 311.8 kB / 0.5286 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.355, allocations: 190 kB / 0.5288 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.3551, allocations: 180.2 kB / 0.529 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3552, allocations: 112.9 kB / 0.5291 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.3552, allocations: 176.3 kB / 0.5293 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.3553, allocations: 105.2 kB / 0.5294 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.81e-05/0.3553, allocations: 99.27 kB / 0.5295 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3553, allocations: 4 kB / 0.5295 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001985/0.3573, allocations: 0.8761 MB / 0.5303 GB, free: 11.72 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: 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.003451/0.3608, allocations: 2.075 MB / 0.5323 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.3609, allocations: 12 kB / 0.5324 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3609, allocations: 4 kB / 0.5324 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.3609, allocations: 4 kB / 0.5324 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.3614, allocations: 0.4885 MB / 0.5328 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3631, allocations: 1.759 MB / 0.5346 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3634, allocations: 0.6768 MB / 0.5352 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.3634, allocations: 0 / 0.5352 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.3635, allocations: 11.44 kB / 0.5352 GB, free: 6.543 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3635, allocations: 0 / 0.5352 GB, free: 6.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.4125, allocations: 25.04 MB / 0.5597 GB, free: 13.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.043, allocations: 8.062 kB / 0.5597 GB, free: 13.48 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.294464093982242] Failed to read output from testmodel.py, exit status != 0: 9.188095001969486 9.200768773 8.901823781 Calling exit ...