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.00135/0.00135, allocations: 113.3 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.001545/0.001545, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.389/1.389, allocations: 207.6 MB / 233 MB, free: 10.01 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.0809/0.0809, allocations: 9.143 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.002356/0.002356, allocations: 67.59 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06508/0.06744, allocations: 50.77 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02171/0.08915, allocations: 17.37 MB / 479.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.107, allocations: 15.57 MB / 494.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.1071, allocations: 4 kB / 494.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1081, allocations: 419.4 kB / 495.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.1111, allocations: 1.353 MB / 496.5 MB, free: 9.895 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.0113/0.1224, allocations: 4.724 MB / 0.4895 GB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1227, allocations: 151.1 kB / 0.4897 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1227, allocations: 5.312 kB / 0.4897 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1228, allocations: 67.72 kB / 0.4897 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.1229, allocations: 51.72 kB / 0.4898 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.123, allocations: 4 kB / 0.4898 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.1387, allocations: 9.049 MB / 0.4986 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.1387, allocations: 11.83 kB / 0.4986 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.1388, allocations: 67.59 kB / 0.4987 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006972/0.1458, allocations: 3.503 MB / 0.5021 GB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1458, allocations: 8 kB / 0.5021 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1458, allocations: 0 / 0.5021 GB, free: 8.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1458, allocations: 0 / 0.5021 GB, free: 8.223 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.0015/0.1473, allocations: 0.7401 MB / 0.5028 GB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1473, allocations: 11.98 kB / 0.5029 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.1474, allocations: 46.55 kB / 0.5029 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.1478, allocations: 55.84 kB / 0.503 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1479, allocations: 121 kB / 0.5031 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1479, allocations: 12 kB / 0.5031 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1479, allocations: 11.98 kB / 0.5031 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1484, allocations: 265.6 kB / 0.5033 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1484, allocations: 0 / 0.5033 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1484, allocations: 8 kB / 0.5034 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1484, allocations: 3.984 kB / 0.5034 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.149, allocations: 479.5 kB / 0.5038 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1494, allocations: 313.7 kB / 0.5041 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.1497, allocations: 238.5 kB / 0.5043 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.15, allocations: 200.8 kB / 0.5045 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.1644, allocations: 3.075 MB / 0.5075 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1644, allocations: 30.56 kB / 0.5076 GB, free: 2.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.1644, allocations: 0 / 0.5076 GB, free: 2.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001052/0.1655, allocations: 0.7163 MB / 0.5083 GB, free: 1.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1655, allocations: 59.41 kB / 0.5083 GB, free: 1.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.1656, allocations: 97.8 kB / 0.5084 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1656, allocations: 29.7 kB / 0.5084 GB, free: 1.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1656, allocations: 80.8 kB / 0.5085 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1658, allocations: 138.7 kB / 0.5087 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.1658, allocations: 45.69 kB / 0.5087 GB, free: 1.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.166, allocations: 326.8 kB / 0.509 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1663, allocations: 196 kB / 0.5092 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.1665, allocations: 207.9 kB / 0.5094 GB, free: 0.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.1671, allocations: 473.1 kB / 0.5098 GB, free: 120 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1671, allocations: 0 / 0.5098 GB, free: 120 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007189/0.1678, allocations: 0.5084 MB / 0.5103 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1678, allocations: 8 kB / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1678, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1679, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.168, allocations: 23.97 kB / 0.5104 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.168, allocations: 8 kB / 0.5104 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.1681, allocations: 23.77 kB / 0.5104 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1681, allocations: 7.938 kB / 0.5104 GB, free: 15.53 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.0001175/0.1683, allocations: 121.8 kB / 0.5105 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1683, allocations: 15.89 kB / 0.5105 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.1692, allocations: 0.6868 MB / 0.5112 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1692, allocations: 4 kB / 0.5112 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1692, allocations: 0 / 0.5112 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1692, allocations: 7.938 kB / 0.5112 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1705, allocations: 0.9115 MB / 0.5121 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.1705, allocations: 4 kB / 0.5121 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1706, allocations: 27.92 kB / 0.5121 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1706, allocations: 4 kB / 0.5121 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1706, allocations: 11.98 kB / 0.5122 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1707, allocations: 4 kB / 0.5122 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1707, allocations: 8.281 kB / 0.5122 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.1712, allocations: 387.8 kB / 0.5125 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.1712, allocations: 7.938 kB / 0.5125 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.1712, allocations: 27.83 kB / 0.5126 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1714, allocations: 4 kB / 0.5126 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1714, allocations: 23.86 kB / 0.5126 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1714, allocations: 11.98 kB / 0.5126 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1716, allocations: 171.2 kB / 0.5128 GB, free: 12.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 0.5128 GB, free: 12.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001842/0.1735, allocations: 0.7516 MB / 0.5135 GB, free: 12.12 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.004042/0.1775, allocations: 2.032 MB / 0.5155 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.1781, allocations: 307.7 kB / 0.5158 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1781, allocations: 0 / 0.5158 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1782, allocations: 104 kB / 0.5159 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1789, allocations: 80.28 kB / 0.516 GB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.1829, allocations: 3.178 MB / 0.5191 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1833, allocations: 0.7084 MB / 0.5198 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.1837, allocations: 291.8 kB / 0.52 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.1838, allocations: 43.42 kB / 0.5201 GB, free: 5.156 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1838, allocations: 0 / 0.5201 GB, free: 5.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.4143, allocations: 28.44 MB / 0.5478 GB, free: 58.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.35, allocations: 14.94 kB / 0.5479 GB, free: 58.91 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 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: 14.84416895499453] Failed to read output from testmodel.py, exit status != 0: 12.474817113019526 12.495373228 12.34541467 Calling exit ...