Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.001833/0.001833, allocations: 109.1 kB / 16.45 MB, free: 6.508 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.002181/0.002181, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.47/1.47, allocations: 207.6 MB / 229.8 MB, free: 4.223 MB / 174.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.05301/0.05301, allocations: 9.147 MB / 290.8 MB, free: 7.277 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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",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.002234/0.002234, allocations: 75.88 kB / 405.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2312, allocations: 50.72 MB / 456.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01888/0.2501, allocations: 16.9 MB / 473.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.2609, allocations: 9.764 MB / 483.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.261, allocations: 8 kB / 483.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.2616, allocations: 291.2 kB / 483.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.2617, allocations: 23.91 kB / 483.6 MB, free: 12.84 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:887:13-887: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:887:13-887: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.01305/0.2747, allocations: 5.323 MB / 488.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2748, allocations: 55.66 kB / 488.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.2749, allocations: 4 kB / 488.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.275, allocations: 27.86 kB / 489 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.275, allocations: 7.938 kB / 489 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.275, allocations: 4 kB / 489 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.2884, allocations: 7.996 MB / 497 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2884, allocations: 0 / 497 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.2884, allocations: 11.94 kB / 497 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006762/0.2952, allocations: 3.308 MB / 0.4886 GB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2952, allocations: 0 / 0.4886 GB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2952, allocations: 0 / 0.4886 GB, free: 12.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2952, allocations: 3.938 kB / 0.4886 GB, free: 12.06 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.001228/0.2964, allocations: 0.7145 MB / 0.4893 GB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2965, allocations: 12.03 kB / 0.4893 GB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.2965, allocations: 30.56 kB / 0.4893 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2965, allocations: 7.938 kB / 0.4893 GB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2967, allocations: 171 kB / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2967, allocations: 0 / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.2967, allocations: 0 / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.2968, allocations: 45.64 kB / 0.4895 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2968, allocations: 0 / 0.4895 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.2968, allocations: 3.984 kB / 0.4895 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2968, allocations: 0 / 0.4895 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.2968, allocations: 8 kB / 0.4895 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.297, allocations: 169.6 kB / 0.4897 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.2971, allocations: 26.58 kB / 0.4897 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.2971, allocations: 16.88 kB / 0.4897 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02793/0.325, allocations: 14 MB / 0.5034 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3251, allocations: 34.5 kB / 0.5034 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.3251, allocations: 0 / 0.5034 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002097/0.3253, allocations: 85.62 kB / 0.5035 GB, free: 10.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3253, allocations: 51.41 kB / 0.5036 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.3254, allocations: 101.8 kB / 0.5037 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3254, allocations: 25.7 kB / 0.5037 GB, free: 9.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.3255, allocations: 84.14 kB / 0.5038 GB, free: 9.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3255, allocations: 19.8 kB / 0.5038 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3255, allocations: 17.7 kB / 0.5038 GB, free: 9.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3257, allocations: 315 kB / 0.5041 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.3257, allocations: 12 kB / 0.5041 GB, free: 9.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.3257, allocations: 15.98 kB / 0.5041 GB, free: 9.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.3258, allocations: 36.73 kB / 0.5042 GB, free: 9.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3258, allocations: 0 / 0.5042 GB, free: 9.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.612e-05/0.3259, allocations: 57.69 kB / 0.5042 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3259, allocations: 4 kB / 0.5042 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3259, allocations: 4 kB / 0.5042 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3259, allocations: 4 kB / 0.5042 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3259, allocations: 0 / 0.5042 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3259, allocations: 4.047 kB / 0.5042 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.3259, allocations: 11.89 kB / 0.5043 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3259, allocations: 0 / 0.5043 GB, free: 9.379 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: 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 8.297e-05/0.326, allocations: 113.8 kB / 0.5044 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-06/0.326, allocations: 0 / 0.5044 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.3262, allocations: 174.8 kB / 0.5045 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.595e-05/0.3263, allocations: 184.2 kB / 0.5047 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.372e-05/0.3264, allocations: 184.2 kB / 0.5049 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.084e-05/0.3265, allocations: 180.2 kB / 0.5051 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3268, allocations: 421 kB / 0.5055 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/0.3268, allocations: 105 kB / 0.5056 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.3269, allocations: 109 kB / 0.5057 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.231e-05/0.3269, allocations: 180.2 kB / 0.5058 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.327, allocations: 184.3 kB / 0.506 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.059e-05/0.3271, allocations: 180.2 kB / 0.5062 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.8e-05/0.3272, allocations: 176.3 kB / 0.5063 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3273, allocations: 311.7 kB / 0.5066 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.3274, allocations: 186.1 kB / 0.5068 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.3275, allocations: 180.2 kB / 0.507 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.3276, allocations: 105 kB / 0.5071 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.3277, allocations: 188.2 kB / 0.5073 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.3278, allocations: 108.9 kB / 0.5074 GB, free: 5.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.3278, allocations: 99.27 kB / 0.5075 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3278, allocations: 4 kB / 0.5075 GB, free: 5.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001851/0.3297, allocations: 0.7554 MB / 0.5082 GB, free: 5.074 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: 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.003439/0.3331, allocations: 1.916 MB / 0.5101 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3332, allocations: 16 kB / 0.5101 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3332, allocations: 288 / 0.5101 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3332, allocations: 0 / 0.5101 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.3338, allocations: 0.4958 MB / 0.5106 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3357, allocations: 1.693 MB / 0.5122 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3361, allocations: 0.6845 MB / 0.5129 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.3361, allocations: 0 / 0.5129 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.3361, allocations: 11.44 kB / 0.5129 GB, free: 120 kB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3361, allocations: 0 / 0.5129 GB, free: 120 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05664/0.3927, allocations: 23.27 MB / 0.5356 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/9.338, allocations: 8.469 kB / 0.5357 GB, free: 8.805 MB / 414.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.842179832048714] Failed to read output from testmodel.py, exit status != 0: 9.421274967025965 9.436654524 9.138260383 Calling exit ...