Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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.001263/0.001263, allocations: 110.7 kB / 16.46 MB, free: 6.5 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.001382/0.001382, allocations: 216 kB / 19.43 MB, free: 3.656 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.567/1.567, 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.05199/0.05199, allocations: 9.15 MB / 290.8 MB, free: 13.9 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_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_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.002212/0.002212, allocations: 75.83 kB / 405.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08244, allocations: 50.73 MB / 456.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02155/0.104, allocations: 16.96 MB / 473.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1063, allocations: 1.869 MB / 475.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1063, allocations: 0 / 475.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.107, allocations: 287.8 kB / 475.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.1071, allocations: 31.83 kB / 475.7 MB, free: 11.03 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'. Notification: Performance of NFTyping.typeClassSections: time 0.007865/0.1149, allocations: 2.913 MB / 478.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.115, allocations: 63.61 kB / 478.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.697e-05/0.115, allocations: 3.938 kB / 478.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.1151, allocations: 31.84 kB / 478.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.1152, allocations: 11.94 kB / 478.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-06/0.1152, allocations: 0 / 478.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008363/0.1235, allocations: 5.068 MB / 483.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1235, allocations: 0 / 483.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.1236, allocations: 11.94 kB / 483.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005564/0.1292, allocations: 1.991 MB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1292, allocations: 0 / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1292, allocations: 0 / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1292, allocations: 4 kB / 485.8 MB, free: 0.9141 MB / 350.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.001036/0.1302, allocations: 0.5092 MB / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1302, allocations: 12.03 kB / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.1303, allocations: 34.5 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1303, allocations: 11.95 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1305, allocations: 174.9 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1305, allocations: 0 / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1305, allocations: 0 / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1306, allocations: 45.69 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1306, allocations: 0 / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.1306, allocations: 0 / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1306, allocations: 0 / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.1306, allocations: 19.98 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1309, allocations: 169.5 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.1309, allocations: 22.58 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.131, allocations: 20.89 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03436/0.1653, allocations: 19.36 MB / 0.4943 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.1654, allocations: 30.56 kB / 0.4943 GB, free: 8.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/0.1654, allocations: 0 / 0.4943 GB, free: 8.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000341/0.1657, allocations: 77.61 kB / 0.4944 GB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.1658, allocations: 55.41 kB / 0.4945 GB, free: 8.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1659, allocations: 97.88 kB / 0.4946 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.166, allocations: 25.7 kB / 0.4946 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.166, allocations: 84.14 kB / 0.4947 GB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.1661, allocations: 19.8 kB / 0.4947 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1661, allocations: 17.72 kB / 0.4947 GB, free: 8.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1663, allocations: 318.8 kB / 0.495 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.1664, allocations: 12 kB / 0.495 GB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.1664, allocations: 8 kB / 0.495 GB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.1665, allocations: 41 kB / 0.4951 GB, free: 8.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1665, allocations: 3.938 kB / 0.4951 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.1666, allocations: 69.52 kB / 0.4951 GB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.1667, allocations: 4 kB / 0.4951 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1667, allocations: 0 / 0.4951 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1667, allocations: 0 / 0.4951 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.1667, allocations: 0 / 0.4951 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1667, allocations: 0 / 0.4951 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.1667, allocations: 3.938 kB / 0.4951 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1668, allocations: 4.312 kB / 0.4951 GB, free: 8.066 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.0001242/0.1669, allocations: 121.8 kB / 0.4953 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1669, allocations: 7.953 kB / 0.4953 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1671, allocations: 162.9 kB / 0.4954 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/0.1672, allocations: 180.2 kB / 0.4956 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001168/0.1674, allocations: 180.2 kB / 0.4958 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-05/0.1675, allocations: 184.2 kB / 0.4959 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1678, allocations: 417.2 kB / 0.4963 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.367e-05/0.1679, allocations: 104.9 kB / 0.4964 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.168, allocations: 105 kB / 0.4965 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.1681, allocations: 180.3 kB / 0.4967 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.1682, allocations: 184.2 kB / 0.4969 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001169/0.1683, allocations: 180.3 kB / 0.4971 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001069/0.1684, allocations: 184.2 kB / 0.4972 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1687, allocations: 311.8 kB / 0.4975 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1688, allocations: 186 kB / 0.4977 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.169, allocations: 180.3 kB / 0.4979 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1691, allocations: 108.9 kB / 0.498 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1692, allocations: 184.2 kB / 0.4982 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.1692, allocations: 105 kB / 0.4983 GB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.1693, allocations: 99.22 kB / 0.4983 GB, free: 4.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1693, allocations: 288 / 0.4983 GB, free: 4.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001526/0.1709, allocations: 406.6 kB / 0.4987 GB, free: 4.137 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.002654/0.1735, allocations: 1.363 MB / 0.5001 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1736, allocations: 27.94 kB / 0.5001 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1736, allocations: 0 / 0.5001 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.1736, allocations: 0 / 0.5001 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.1742, allocations: 489.3 kB / 0.5006 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.176, allocations: 1.538 MB / 0.5021 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1763, allocations: 0.6768 MB / 0.5027 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.133e-05/0.1764, allocations: 4.031 kB / 0.5027 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1764, allocations: 19.38 kB / 0.5027 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1764, allocations: 4.031 kB / 0.5028 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.2237, allocations: 15.46 MB / 0.5178 GB, free: 468 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/8.851, allocations: 7.312 kB / 0.5179 GB, free: 464 kB / 398.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.657072104047984] Failed to read output from testmodel.py, exit status != 0: 8.932777808979154 8.958105808 8.824891104 Calling exit ...