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.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.00164/0.00164, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002037/0.002037, allocations: 218.9 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05014/0.05014, allocations: 9.147 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 446.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1016, allocations: 54.94 MB / 0.4897 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01854/0.1201, allocations: 15.47 MB / 0.5048 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.1308, allocations: 9.822 MB / 0.5144 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.1308, allocations: 3.938 kB / 0.5144 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2032/0.334, allocations: 212.3 kB / 0.5146 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/0.3341, allocations: 49.61 kB / 0.5146 GB, free: 7.199 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.01349/0.3476, allocations: 6.012 MB / 0.5205 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3478, allocations: 84.56 kB / 0.5206 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.3478, allocations: 4.266 kB / 0.5206 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.3479, allocations: 40.41 kB / 0.5206 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.3479, allocations: 14.72 kB / 0.5206 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3479, allocations: 1.062 kB / 0.5206 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.3604, allocations: 6.104 MB / 0.5266 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.3604, allocations: 6.656 kB / 0.5266 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.3605, allocations: 20.41 kB / 0.5266 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008001/0.3685, allocations: 3.071 MB / 0.5296 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3685, allocations: 1.969 kB / 0.5296 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3685, allocations: 0.5 kB / 0.5296 GB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3685, allocations: 1.125 kB / 0.5296 GB, free: 6.59 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.00198/0.3705, allocations: 0.7378 MB / 0.5304 GB, free: 6.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3705, allocations: 9.125 kB / 0.5304 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.3705, allocations: 42.14 kB / 0.5304 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3706, allocations: 6.266 kB / 0.5304 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.3706, allocations: 104.8 kB / 0.5305 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3707, allocations: 9.797 kB / 0.5305 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.3707, allocations: 1.25 kB / 0.5305 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3708, allocations: 58.36 kB / 0.5306 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3708, allocations: 0 / 0.5306 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3708, allocations: 0 / 0.5306 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3708, allocations: 3.266 kB / 0.5306 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.3708, allocations: 29.5 kB / 0.5306 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.371, allocations: 155.4 kB / 0.5308 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/0.371, allocations: 43.97 kB / 0.5308 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.371, allocations: 31.55 kB / 0.5308 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04734/0.4184, allocations: 11.9 MB / 0.5424 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4184, allocations: 38.75 kB / 0.5425 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.524e-06/0.4184, allocations: 1.656 kB / 0.5425 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002946/0.4187, allocations: 131.1 kB / 0.5426 GB, free: 2.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.4187, allocations: 55.44 kB / 0.5427 GB, free: 2.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.4188, allocations: 99.94 kB / 0.5428 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.4188, allocations: 25.7 kB / 0.5428 GB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.4188, allocations: 80.14 kB / 0.5429 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.4189, allocations: 51.77 kB / 0.5429 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.4189, allocations: 18.88 kB / 0.5429 GB, free: 1.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.4189, allocations: 323.4 kB / 0.5432 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.419, allocations: 23.25 kB / 0.5433 GB, free: 1.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.419, allocations: 27.27 kB / 0.5433 GB, free: 1.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.4191, allocations: 75.61 kB / 0.5434 GB, free: 1.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4191, allocations: 4.156 kB / 0.5434 GB, free: 1.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.317e-05/0.4192, allocations: 98.73 kB / 0.5435 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4192, allocations: 5.562 kB / 0.5435 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4192, allocations: 0 / 0.5435 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4192, allocations: 3.219 kB / 0.5435 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.4192, allocations: 3.984 kB / 0.5435 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4192, allocations: 0 / 0.5435 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.4192, allocations: 8.031 kB / 0.5435 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4193, allocations: 2.656 kB / 0.5435 GB, free: 1.441 MB / 382.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.394e-05/0.4193, allocations: 108.5 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.4193, allocations: 11.5 kB / 0.5436 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.4195, allocations: 162.9 kB / 0.5437 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4195, allocations: 3.984 kB / 0.5438 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4195, allocations: 0 / 0.5438 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4195, allocations: 7.641 kB / 0.5438 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.4196, allocations: 133.8 kB / 0.5439 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4196, allocations: 0 / 0.5439 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.4196, allocations: 1.125 kB / 0.5439 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4196, allocations: 0 / 0.5439 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.4196, allocations: 6.312 kB / 0.5439 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4196, allocations: 0 / 0.5439 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4196, allocations: 0 / 0.5439 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.4197, allocations: 106.6 kB / 0.544 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.4197, allocations: 10.7 kB / 0.544 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.4197, allocations: 3.781 kB / 0.544 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.4197, allocations: 3.688 kB / 0.544 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.4197, allocations: 0.7656 kB / 0.544 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4197, allocations: 3.938 kB / 0.544 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.4198, allocations: 104.8 kB / 0.5441 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4198, allocations: 0 / 0.5441 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002623/0.4224, allocations: 0.8884 MB / 0.545 GB, free: 0.6523 MB / 382.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.003684/0.4261, allocations: 1.888 MB / 0.5468 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4262, allocations: 49.2 kB / 0.5469 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4262, allocations: 3.938 kB / 0.5469 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.4262, allocations: 15.62 kB / 0.5469 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.4266, allocations: 67.09 kB / 0.547 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4286, allocations: 1.673 MB / 0.5486 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.477e-05/0.4287, allocations: 78.8 kB / 0.5487 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.4287, allocations: 1.312 kB / 0.5487 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4287, allocations: 22.92 kB / 0.5487 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4287, allocations: 0 / 0.5487 GB, free: 14.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.4915, allocations: 26.53 MB / 0.5746 GB, free: 4.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.1, allocations: 8.641 kB / 0.5746 GB, free: 4.043 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.675049392040819] Failed to read output from testmodel.py, exit status != 0: 12.222078426275402 12.238163974 11.866482663 Calling exit ...