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.001732/0.001732, allocations: 108.5 kB / 16.46 MB, free: 6.453 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.002208/0.002208, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.424/1.424, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.05308/0.05308, allocations: 9.152 MB / 290.8 MB, free: 13.89 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.002093/0.002093, allocations: 67.38 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07027/0.07236, allocations: 50.72 MB / 456.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02168/0.09404, allocations: 17.33 MB / 473.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.1109, allocations: 15.58 MB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.111, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1121, allocations: 423.4 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1152, allocations: 1.313 MB / 491.2 MB, free: 11.43 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.01261/0.1278, allocations: 4.7 MB / 495.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1282, allocations: 147.1 kB / 496.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.1282, allocations: 5.125 kB / 496.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1284, allocations: 75.64 kB / 496.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1285, allocations: 47.72 kB / 496.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1285, allocations: 8 kB / 496.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.1451, allocations: 8.73 MB / 0.4931 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.1452, allocations: 15.91 kB / 0.4931 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1453, allocations: 51.69 kB / 0.4931 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.1539, allocations: 3.491 MB / 0.4966 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1539, allocations: 4 kB / 0.4966 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1539, allocations: 0 / 0.4966 GB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1539, allocations: 4 kB / 0.4966 GB, free: 10.12 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.001696/0.1556, allocations: 0.8115 MB / 0.4974 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1556, allocations: 12.03 kB / 0.4974 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.1557, allocations: 46.55 kB / 0.4974 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.1561, allocations: 63.77 kB / 0.4975 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1563, allocations: 182.8 kB / 0.4976 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1563, allocations: 8 kB / 0.4977 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1564, allocations: 8 kB / 0.4977 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.1568, allocations: 265.3 kB / 0.4979 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1568, allocations: 0 / 0.4979 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1568, allocations: 0 / 0.4979 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1568, allocations: 7.984 kB / 0.4979 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/0.1574, allocations: 455.5 kB / 0.4984 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1578, allocations: 334.4 kB / 0.4987 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.1581, allocations: 230.4 kB / 0.4989 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.1584, allocations: 200.8 kB / 0.4991 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/0.1771, allocations: 10 MB / 0.5089 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.1771, allocations: 34.56 kB / 0.5089 GB, free: 11.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.1771, allocations: 0 / 0.5089 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.001071/0.1782, allocations: 0.6698 MB / 0.5095 GB, free: 10.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.1783, allocations: 59.34 kB / 0.5096 GB, free: 10.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.1784, allocations: 105.8 kB / 0.5097 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1784, allocations: 25.7 kB / 0.5097 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1786, allocations: 88.73 kB / 0.5098 GB, free: 10.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1787, allocations: 138.7 kB / 0.5099 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.1788, allocations: 41.69 kB / 0.51 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.179, allocations: 330.8 kB / 0.5103 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.1793, allocations: 187.9 kB / 0.5105 GB, free: 9.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.1795, allocations: 189.1 kB / 0.5107 GB, free: 9.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.1801, allocations: 447.6 kB / 0.5111 GB, free: 9.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1801, allocations: 0 / 0.5111 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006696/0.1807, allocations: 496 kB / 0.5116 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1808, allocations: 4 kB / 0.5116 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1808, allocations: 3.984 kB / 0.5116 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1808, allocations: 0 / 0.5116 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.181, allocations: 27.92 kB / 0.5116 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.181, allocations: 0 / 0.5116 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.1811, allocations: 27.77 kB / 0.5116 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1811, allocations: 7.984 kB / 0.5116 GB, free: 8.742 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.0001202/0.1812, allocations: 117.8 kB / 0.5117 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.1812, allocations: 11.91 kB / 0.5117 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.1822, allocations: 0.6827 MB / 0.5124 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1822, allocations: 0 / 0.5124 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1822, allocations: 0 / 0.5124 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1822, allocations: 7.938 kB / 0.5124 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1836, allocations: 0.9046 MB / 0.5133 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1836, allocations: 4 kB / 0.5133 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1838, allocations: 27.97 kB / 0.5133 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1838, allocations: 7.938 kB / 0.5133 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1838, allocations: 8 kB / 0.5134 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1838, allocations: 4 kB / 0.5134 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.1838, allocations: 7.984 kB / 0.5134 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.1843, allocations: 376.1 kB / 0.5137 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1843, allocations: 85.05 kB / 0.5138 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.1844, allocations: 19.84 kB / 0.5138 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1845, allocations: 8 kB / 0.5138 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1845, allocations: 27.83 kB / 0.5139 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1846, allocations: 12 kB / 0.5139 GB, free: 6.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1847, allocations: 171.2 kB / 0.514 GB, free: 6.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1847, allocations: 3.938 kB / 0.514 GB, free: 6.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002496/0.1872, allocations: 0.7555 MB / 0.5148 GB, free: 5.258 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.00428/0.1915, allocations: 2.012 MB / 0.5167 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.192, allocations: 287.8 kB / 0.517 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.192, allocations: 4 kB / 0.517 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1922, allocations: 96.44 kB / 0.5171 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.1928, allocations: 83.78 kB / 0.5172 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.1971, allocations: 3.113 MB / 0.5202 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1974, allocations: 0.7084 MB / 0.5209 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.1979, allocations: 295.8 kB / 0.5212 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.198, allocations: 43.42 kB / 0.5212 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.198, allocations: 0 / 0.5212 GB, free: 14.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.4332, allocations: 28.3 MB / 0.5489 GB, free: 75.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.309/9.742, allocations: 9.922 kB / 0.5489 GB, free: 75.38 MB / 414.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.304193343035877] Failed to read output from testmodel.py, exit status != 0: 9.829440011177212 9.849125803 9.691510282 Calling exit ...