Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_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.001325/0.001325, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001696/0.001696, allocations: 216 kB / 22.25 MB, free: 5.117 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.435/1.435, 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.0566/0.0566, allocations: 9.153 MB / 294.4 MB, free: 12.7 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_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_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.002287/0.002287, allocations: 63.81 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06853/0.07082, allocations: 50.76 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02108/0.0919, allocations: 17.37 MB / 479.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.1085, allocations: 15.57 MB / 494.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.1086, allocations: 0 / 494.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1096, allocations: 427.4 kB / 495.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.1126, allocations: 1.356 MB / 496.5 MB, free: 9.871 MB / 366.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.01158/0.1241, allocations: 4.727 MB / 0.4895 GB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1244, allocations: 143.2 kB / 0.4897 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.1244, allocations: 13.25 kB / 0.4897 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1246, allocations: 67.7 kB / 0.4897 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.1247, allocations: 47.73 kB / 0.4898 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1247, allocations: 4 kB / 0.4898 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/0.1404, allocations: 9.049 MB / 0.4986 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.1404, allocations: 15.92 kB / 0.4986 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1405, allocations: 51.69 kB / 0.4987 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008591/0.1491, allocations: 3.507 MB / 0.5021 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1491, allocations: 0 / 0.5021 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1491, allocations: 3.938 kB / 0.5021 GB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1491, allocations: 4 kB / 0.5021 GB, free: 8.207 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001719/0.1508, allocations: 0.7401 MB / 0.5028 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1509, allocations: 11.98 kB / 0.5028 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.1509, allocations: 50.55 kB / 0.5029 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.1513, allocations: 55.84 kB / 0.5029 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1515, allocations: 121 kB / 0.5031 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.1515, allocations: 12 kB / 0.5031 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1515, allocations: 8 kB / 0.5031 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.152, allocations: 269.6 kB / 0.5033 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.152, allocations: 0 / 0.5033 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.152, allocations: 0 / 0.5033 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.152, allocations: 11.98 kB / 0.5034 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.1526, allocations: 471.5 kB / 0.5038 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.153, allocations: 313.6 kB / 0.5041 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.1533, allocations: 238.5 kB / 0.5043 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.1537, allocations: 208.8 kB / 0.5045 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.1683, allocations: 3.075 MB / 0.5075 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.1683, allocations: 34.56 kB / 0.5076 GB, free: 2.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.1683, allocations: 0 / 0.5076 GB, free: 2.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001227/0.1695, allocations: 0.7046 MB / 0.5083 GB, free: 1.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1696, allocations: 55.39 kB / 0.5083 GB, free: 1.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1697, allocations: 109.7 kB / 0.5084 GB, free: 1.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1697, allocations: 25.7 kB / 0.5084 GB, free: 1.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1698, allocations: 80.8 kB / 0.5085 GB, free: 1.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1699, allocations: 146.7 kB / 0.5087 GB, free: 1.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.17, allocations: 45.69 kB / 0.5087 GB, free: 1.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1701, allocations: 322.8 kB / 0.509 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1704, allocations: 203.9 kB / 0.5092 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.1706, allocations: 204 kB / 0.5094 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.1712, allocations: 469.1 kB / 0.5098 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1712, allocations: 4 kB / 0.5098 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006869/0.1718, allocations: 0.5084 MB / 0.5103 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1719, allocations: 4 kB / 0.5103 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1719, allocations: 0 / 0.5103 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1719, allocations: 0 / 0.5103 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1721, allocations: 27.98 kB / 0.5104 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1721, allocations: 0 / 0.5104 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.535e-05/0.1722, allocations: 27.75 kB / 0.5104 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1722, allocations: 8 kB / 0.5104 GB, free: 15.51 MB / 398.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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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 0.00012/0.1723, allocations: 117.8 kB / 0.5105 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1723, allocations: 11.91 kB / 0.5105 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/0.1733, allocations: 0.6946 MB / 0.5112 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1733, allocations: 0 / 0.5112 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1733, allocations: 12 kB / 0.5112 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1733, allocations: 3.938 kB / 0.5112 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1746, allocations: 0.9075 MB / 0.5121 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1746, allocations: 3.984 kB / 0.5121 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1747, allocations: 31.92 kB / 0.5121 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1747, allocations: 4 kB / 0.5121 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1747, allocations: 7.984 kB / 0.5122 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1747, allocations: 4 kB / 0.5122 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1747, allocations: 4 kB / 0.5122 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1752, allocations: 388.1 kB / 0.5125 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.1752, allocations: 11.94 kB / 0.5125 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1753, allocations: 23.83 kB / 0.5126 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1754, allocations: 4 kB / 0.5126 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1755, allocations: 23.86 kB / 0.5126 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1755, allocations: 15.98 kB / 0.5126 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1757, allocations: 171.2 kB / 0.5128 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1757, allocations: 0 / 0.5128 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002151/0.1778, allocations: 0.7516 MB / 0.5135 GB, free: 12.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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.003994/0.1818, allocations: 2.023 MB / 0.5155 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.1824, allocations: 311.7 kB / 0.5158 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.1824, allocations: 4 kB / 0.5158 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1825, allocations: 96.45 kB / 0.5159 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.1832, allocations: 82.12 kB / 0.516 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.1875, allocations: 3.19 MB / 0.5191 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1878, allocations: 0.7084 MB / 0.5198 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.1883, allocations: 287.8 kB / 0.52 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1884, allocations: 47.41 kB / 0.5201 GB, free: 5.137 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1884, allocations: 0 / 0.5201 GB, free: 5.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2366/0.425, allocations: 28.45 MB / 0.5479 GB, free: 59.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.73, allocations: 3.797 kB / 0.5479 GB, free: 59.34 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_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_dT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.387537724003778] Failed to read output from testmodel.py, exit status != 0: 12.856503526003507 12.877247308 12.72429729 Calling exit ...