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.001614/0.001614, allocations: 113 kB / 18.94 MB, free: 2.934 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.002107/0.002107, allocations: 207.7 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 207.6 MB / 233 MB, free: 10 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.05309/0.05309, allocations: 9.156 MB / 294.4 MB, free: 12.8 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.002229/0.002229, allocations: 72.11 kB / 411.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0731/0.07533, allocations: 50.76 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02189/0.09722, allocations: 16.95 MB / 478.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.1143, allocations: 9.763 MB / 488.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.1144, allocations: 0 / 488.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1155, allocations: 295.2 kB / 488.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.1156, allocations: 23.84 kB / 488.8 MB, free: 1.629 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.02202/0.1377, allocations: 5.392 MB / 494.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1378, allocations: 55.61 kB / 494.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.1378, allocations: 0 / 494.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.138, allocations: 27.86 kB / 494.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.138, allocations: 11.94 kB / 494.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.138, allocations: 0 / 494.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/0.1596, allocations: 8.312 MB / 0.4909 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1597, allocations: 0 / 0.4909 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.1597, allocations: 11.94 kB / 0.4909 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.1711, allocations: 3.324 MB / 0.4941 GB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1711, allocations: 0 / 0.4941 GB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1711, allocations: 0 / 0.4941 GB, free: 476 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1711, allocations: 0 / 0.4941 GB, free: 476 kB / 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.001855/0.173, allocations: 0.6431 MB / 0.4947 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1731, allocations: 15.98 kB / 0.4948 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1731, allocations: 34.55 kB / 0.4948 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1731, allocations: 7.953 kB / 0.4948 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1733, allocations: 105.2 kB / 0.4949 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.1733, allocations: 0 / 0.4949 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1733, allocations: 0 / 0.4949 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1734, allocations: 45.64 kB / 0.4949 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1735, allocations: 7.969 kB / 0.4949 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1735, allocations: 0 / 0.4949 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1735, allocations: 8 kB / 0.495 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.1735, allocations: 8 kB / 0.495 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.1738, allocations: 144.6 kB / 0.4951 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.1738, allocations: 26.58 kB / 0.4951 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.1739, allocations: 20.88 kB / 0.4951 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04307/0.2169, allocations: 4.382 MB / 0.4994 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.217, allocations: 34.56 kB / 0.4995 GB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.557e-06/0.217, allocations: 0 / 0.4995 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003337/0.2173, allocations: 81.62 kB / 0.4995 GB, free: 10.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.2174, allocations: 51.41 kB / 0.4996 GB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2175, allocations: 101.8 kB / 0.4997 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2176, allocations: 29.7 kB / 0.4997 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.2176, allocations: 80.14 kB / 0.4998 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.2177, allocations: 15.86 kB / 0.4998 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.2177, allocations: 25.86 kB / 0.4998 GB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.218, allocations: 310.8 kB / 0.5001 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.218, allocations: 12 kB / 0.5001 GB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.218, allocations: 15.92 kB / 0.5001 GB, free: 10.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.2181, allocations: 32.86 kB / 0.5002 GB, free: 10.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2181, allocations: 0 / 0.5002 GB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.2183, allocations: 65.62 kB / 0.5002 GB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2183, allocations: 7.938 kB / 0.5002 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2183, allocations: 0 / 0.5002 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2183, allocations: 4.062 kB / 0.5003 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-06/0.2183, allocations: 3.984 kB / 0.5003 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2183, allocations: 0 / 0.5003 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.2184, allocations: 19.83 kB / 0.5003 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2184, allocations: 0 / 0.5003 GB, free: 9.938 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 0.0001277/0.2185, allocations: 105.8 kB / 0.5004 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.2186, allocations: 7.938 kB / 0.5004 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.2188, allocations: 167 kB / 0.5005 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/0.2189, allocations: 188.3 kB / 0.5007 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001191/0.219, allocations: 180.2 kB / 0.5009 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/0.2191, allocations: 184.2 kB / 0.5011 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.2195, allocations: 380.2 kB / 0.5014 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-05/0.2196, allocations: 109 kB / 0.5015 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.2197, allocations: 109 kB / 0.5016 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.2198, allocations: 180.2 kB / 0.5018 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.2199, allocations: 176.3 kB / 0.502 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001162/0.22, allocations: 184.2 kB / 0.5022 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001084/0.2201, allocations: 176.6 kB / 0.5023 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2204, allocations: 315.7 kB / 0.5026 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.2205, allocations: 101 kB / 0.5027 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.2206, allocations: 184.2 kB / 0.5029 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2208, allocations: 109 kB / 0.503 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.2209, allocations: 188.1 kB / 0.5032 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.221, allocations: 113 kB / 0.5033 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2211, allocations: 99.27 kB / 0.5034 GB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2211, allocations: 288 / 0.5034 GB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002999/0.2241, allocations: 0.7592 MB / 0.5041 GB, free: 5.781 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.005688/0.2298, allocations: 1.912 MB / 0.506 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2299, allocations: 12 kB / 0.506 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2299, allocations: 0 / 0.506 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-06/0.2299, allocations: 8 kB / 0.506 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2309, allocations: 494 kB / 0.5065 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.2341, allocations: 1.709 MB / 0.5081 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.2346, allocations: 0.6768 MB / 0.5088 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.2346, allocations: 3.938 kB / 0.5088 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.2346, allocations: 11.44 kB / 0.5088 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2346, allocations: 0 / 0.5088 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.4754, allocations: 23.36 MB / 0.5316 GB, free: 56.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.53, allocations: 6.891 kB / 0.5316 GB, free: 56.28 MB / 398.1 MB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 15.199959986995964] Failed to read output from testmodel.py, exit status != 0: 12.649653951993969 12.662797143 12.488958273 Calling exit ...