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.001705/0.001705, allocations: 110 kB / 16.46 MB, free: 6.035 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.001834/0.001834, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.387/1.387, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] 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.05153/0.05153, allocations: 9.148 MB / 290.8 MB, free: 13.92 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) [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.002127/0.002127, allocations: 80.2 kB / 405.8 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07142/0.07354, allocations: 50.71 MB / 456.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02094/0.09449, allocations: 17.06 MB / 473.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1066, allocations: 11.12 MB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1067, allocations: 0 / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.1074, allocations: 299.2 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.1075, allocations: 39.75 kB / 485 MB, free: 1.754 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.01451/0.122, allocations: 6.073 MB / 491.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1222, allocations: 83.48 kB / 491.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1222, allocations: 0 / 491.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.1223, allocations: 35.8 kB / 491.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.1223, allocations: 15.94 kB / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1223, allocations: 0 / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/0.1371, allocations: 8.8 MB / 0.4883 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1371, allocations: 3.938 kB / 0.4883 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.1372, allocations: 27.92 kB / 0.4883 GB, free: 2.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00921/0.1464, allocations: 3.663 MB / 0.4919 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1464, allocations: 0 / 0.4919 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1464, allocations: 4 kB / 0.4919 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1464, allocations: 0 / 0.4919 GB, free: 15.02 MB / 382.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.001666/0.1481, allocations: 0.8115 MB / 0.4927 GB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1481, allocations: 8.031 kB / 0.4927 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1482, allocations: 38.5 kB / 0.4928 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1482, allocations: 7.938 kB / 0.4928 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1484, allocations: 171 kB / 0.4929 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1484, allocations: 4 kB / 0.4929 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1484, allocations: 0 / 0.4929 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1485, allocations: 61.44 kB / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1485, allocations: 0 / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1485, allocations: 0 / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1485, allocations: 0 / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.1486, allocations: 31.86 kB / 0.493 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.1488, allocations: 181.7 kB / 0.4932 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.1488, allocations: 38.56 kB / 0.4932 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1489, allocations: 32.88 kB / 0.4933 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2594/0.4083, allocations: 41.39 MB / 0.5337 GB, free: 88.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.4083, allocations: 39.22 kB / 0.5337 GB, free: 88.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.4083, allocations: 0 / 0.5337 GB, free: 88.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002611/0.4086, allocations: 123.6 kB / 0.5338 GB, free: 88.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.4086, allocations: 56.25 kB / 0.5339 GB, free: 88.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.4087, allocations: 95.47 kB / 0.534 GB, free: 87.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.4087, allocations: 25.7 kB / 0.534 GB, free: 87.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.44e-05/0.4087, allocations: 80.14 kB / 0.5341 GB, free: 87.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.4087, allocations: 52.61 kB / 0.5341 GB, free: 87.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.4088, allocations: 23.33 kB / 0.5342 GB, free: 87.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.4088, allocations: 315.6 kB / 0.5345 GB, free: 87.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.4088, allocations: 23.98 kB / 0.5345 GB, free: 87.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.4089, allocations: 29.47 kB / 0.5345 GB, free: 87.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.4089, allocations: 66.78 kB / 0.5346 GB, free: 87.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4089, allocations: 3.938 kB / 0.5346 GB, free: 87.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001133/0.4091, allocations: 98.89 kB / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4091, allocations: 5 kB / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4091, allocations: 1.125 kB / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4091, allocations: 0 / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-06/0.4091, allocations: 4.172 kB / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4091, allocations: 1.125 kB / 0.5347 GB, free: 87.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.4091, allocations: 8.406 kB / 0.5347 GB, free: 87.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4091, allocations: 1.125 kB / 0.5347 GB, free: 87.43 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 5.195e-05/0.4092, allocations: 117 kB / 0.5348 GB, free: 87.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.4092, allocations: 7.609 kB / 0.5348 GB, free: 87.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.4094, allocations: 156.9 kB / 0.535 GB, free: 87.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4094, allocations: 0.6562 kB / 0.535 GB, free: 87.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4094, allocations: 2.172 kB / 0.535 GB, free: 87.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4094, allocations: 0 / 0.535 GB, free: 87.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4095, allocations: 175.6 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4095, allocations: 3.219 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4095, allocations: 1.156 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4095, allocations: 0.75 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4095, allocations: 1.344 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4095, allocations: 0 / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4095, allocations: 0.5156 kB / 0.5351 GB, free: 87.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.389e-05/0.4096, allocations: 96.62 kB / 0.5352 GB, free: 86.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.4096, allocations: 86.69 kB / 0.5353 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4097, allocations: 1.734 kB / 0.5353 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.4097, allocations: 0 / 0.5353 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.4097, allocations: 2.25 kB / 0.5353 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.4097, allocations: 1.641 kB / 0.5353 GB, free: 86.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.4097, allocations: 104.4 kB / 0.5354 GB, free: 86.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 3.031 kB / 0.5354 GB, free: 86.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002037/0.4118, allocations: 0.8812 MB / 0.5363 GB, free: 86.77 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.00403/0.4158, allocations: 1.9 MB / 0.5381 GB, free: 86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.4159, allocations: 45.84 kB / 0.5382 GB, free: 86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4159, allocations: 1.375 kB / 0.5382 GB, free: 86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.4159, allocations: 11.28 kB / 0.5382 GB, free: 86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.4164, allocations: 54.84 kB / 0.5382 GB, free: 86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.418, allocations: 1.682 MB / 0.5399 GB, free: 84.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.915e-05/0.4181, allocations: 0.6835 MB / 0.5406 GB, free: 84.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.4182, allocations: 6.188 kB / 0.5406 GB, free: 84.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4182, allocations: 17.44 kB / 0.5406 GB, free: 84.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4182, allocations: 1.5 kB / 0.5406 GB, free: 84.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.4712, allocations: 25.77 MB / 0.5657 GB, free: 65.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.334, allocations: 8.047 kB / 0.5658 GB, free: 65.7 MB / 414.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.7702377862297] Failed to read output from testmodel.py, exit status != 0: 9.434911977965385 9.451264463 9.301623671 Calling exit ...