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.001481/0.001481, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002654/0.002654, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.405/1.405, allocations: 207.6 MB / 233 MB, free: 9.973 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.05217/0.05217, allocations: 9.159 MB / 294.4 MB, free: 12.68 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.002261/0.002261, allocations: 71.16 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.08174, allocations: 50.76 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02096/0.1027, allocations: 17 MB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1055, allocations: 1.857 MB / 480.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.1055, allocations: 0 / 480.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.1064, allocations: 299.7 kB / 481 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.1065, allocations: 31.84 kB / 481 MB, free: 9.488 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.007239/0.1137, allocations: 2.96 MB / 484 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1138, allocations: 55.67 kB / 484 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.1139, allocations: 7.938 kB / 484 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.114, allocations: 27.86 kB / 484 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.114, allocations: 11.94 kB / 484.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.114, allocations: 0 / 484.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008248/0.1223, allocations: 5.302 MB / 489.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1223, allocations: 4 kB / 489.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1224, allocations: 11.94 kB / 489.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.1265, allocations: 2.007 MB / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1265, allocations: 0 / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1265, allocations: 4 kB / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1265, allocations: 0 / 491.4 MB, free: 15.07 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.0008372/0.1273, allocations: 448.3 kB / 491.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1274, allocations: 15.98 kB / 491.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.1274, allocations: 34.56 kB / 491.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.1275, allocations: 3.953 kB / 491.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1276, allocations: 117 kB / 492 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1276, allocations: 0 / 492 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1276, allocations: 0 / 492 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1277, allocations: 49.67 kB / 492 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1277, allocations: 0 / 492 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.1278, allocations: 0 / 492 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1278, allocations: 0 / 492 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.1278, allocations: 12 kB / 492 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.128, allocations: 136.7 kB / 492.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.128, allocations: 38.5 kB / 492.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.1281, allocations: 16.89 kB / 492.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0249/0.153, allocations: 5.717 MB / 498 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.153, allocations: 38.56 kB / 498 MB, free: 8.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.153, allocations: 4 kB / 498 MB, free: 8.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002158/0.1532, allocations: 69.69 kB / 498.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1533, allocations: 55.34 kB / 498.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.1533, allocations: 101.8 kB / 498.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1534, allocations: 29.64 kB / 498.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.1534, allocations: 80.14 kB / 498.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.1535, allocations: 23.78 kB / 498.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.1535, allocations: 17.88 kB / 498.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1537, allocations: 322.8 kB / 498.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.1537, allocations: 12 kB / 498.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.1537, allocations: 8 kB / 498.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.1538, allocations: 40.84 kB / 498.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1538, allocations: 0 / 498.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.581e-05/0.1539, allocations: 69.58 kB / 498.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1539, allocations: 5.406 kB / 498.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1539, allocations: 3.938 kB / 498.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1539, allocations: 0 / 498.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1539, allocations: 4.062 kB / 498.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1539, allocations: 0 / 498.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1539, allocations: 7.938 kB / 498.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1539, allocations: 0 / 498.8 MB, free: 7.418 MB / 366.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.918e-05/0.154, allocations: 113.8 kB / 498.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.154, allocations: 7.953 kB / 498.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.1542, allocations: 167 kB / 499.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.595e-05/0.1543, allocations: 184.2 kB / 499.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-05/0.1544, allocations: 184.2 kB / 499.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.942e-05/0.1544, allocations: 184.2 kB / 499.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1547, allocations: 380.2 kB / 0.4883 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.1548, allocations: 101 kB / 0.4884 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1548, allocations: 108.9 kB / 0.4885 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.972e-05/0.1549, allocations: 184.2 kB / 0.4887 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.155, allocations: 184.2 kB / 0.4889 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-05/0.1551, allocations: 176.3 kB / 0.489 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.028e-05/0.1551, allocations: 180.3 kB / 0.4892 GB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1553, allocations: 315.7 kB / 0.4895 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.1554, allocations: 108.9 kB / 0.4896 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1555, allocations: 184.3 kB / 0.4898 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.1556, allocations: 101 kB / 0.4899 GB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.1557, allocations: 180.2 kB / 0.49 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.1557, allocations: 109 kB / 0.4901 GB, free: 4.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.1558, allocations: 107.2 kB / 0.4902 GB, free: 4.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1558, allocations: 0 / 0.4902 GB, free: 4.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.1569, allocations: 394.7 kB / 0.4906 GB, free: 3.629 MB / 366.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.002155/0.159, allocations: 1.369 MB / 0.492 GB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.1591, allocations: 19.94 kB / 0.492 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1591, allocations: 0 / 0.492 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1591, allocations: 0 / 0.492 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.1597, allocations: 500 kB / 0.4925 GB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1612, allocations: 1.55 MB / 0.494 GB, free: 92 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1615, allocations: 0.6808 MB / 0.4946 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.1616, allocations: 7.938 kB / 0.4946 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.1616, allocations: 7.438 kB / 0.4947 GB, free: 15.37 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1616, allocations: 0 / 0.4947 GB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/0.2101, allocations: 15.55 MB / 0.5098 GB, free: 15.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.88, allocations: 3.281 kB / 0.5098 GB, free: 15.82 MB / 398.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.513899567995395] Failed to read output from testmodel.py, exit status != 0: 11.998419194002054 12.026276083 11.895340288 Calling exit ...