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.0008416/0.0008416, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008681/0.0008681, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8533/0.8533, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02826/0.02826, allocations: 7.52 MB / 266.7 MB, free: 6.195 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 391.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.127e-05, allocations: 6.281 kB / 391.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01337/0.01339, allocations: 15.68 MB / 407.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1507/0.1641, allocations: 13.72 MB / 421.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.1642, allocations: 0 / 421.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.165, allocations: 340.4 kB / 421.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.1672, allocations: 1.337 MB / 422.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008116/0.1753, allocations: 4.736 MB / 427.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1755, allocations: 151.3 kB / 427.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1755, allocations: 12.11 kB / 427.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1757, allocations: 92.86 kB / 427.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.1757, allocations: 36 kB / 427.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1757, allocations: 2.594 kB / 427.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008433/0.1842, allocations: 5.948 MB / 433.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1842, allocations: 14.38 kB / 433.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1843, allocations: 39.88 kB / 433.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.1909, allocations: 3.436 MB / 437.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1909, allocations: 4 kB / 437.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1909, allocations: 0 / 437.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1909, allocations: 0 / 437.3 MB, free: 10.23 MB / 330.7 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.001093/0.192, allocations: 0.7362 MB / 438 MB, free: 9.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.192, allocations: 11 kB / 438 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.1921, allocations: 47.27 kB / 438.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.1923, allocations: 55.62 kB / 438.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.721e-05/0.1924, allocations: 117.6 kB / 438.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1924, allocations: 7.625 kB / 438.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1924, allocations: 17.08 kB / 438.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1927, allocations: 262.9 kB / 438.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1927, allocations: 1.594 kB / 438.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1927, allocations: 3.984 kB / 438.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1927, allocations: 7.688 kB / 438.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.1931, allocations: 467.6 kB / 439 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.1933, allocations: 301.9 kB / 439.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1935, allocations: 241.1 kB / 439.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1936, allocations: 212.2 kB / 439.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006025/0.1996, allocations: 3.088 MB / 442.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1996, allocations: 37.47 kB / 442.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.1996, allocations: 0 / 442.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005822/0.2002, allocations: 0.7036 MB / 443.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.2003, allocations: 53.72 kB / 443.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.2003, allocations: 95.44 kB / 443.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2003, allocations: 29.7 kB / 443.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.262e-05/0.2003, allocations: 83.73 kB / 443.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.2004, allocations: 140.5 kB / 443.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.2004, allocations: 47.75 kB / 444 MB, free: 6.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.2005, allocations: 331.1 kB / 444.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2006, allocations: 204.2 kB / 444.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2007, allocations: 195.9 kB / 444.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.201, allocations: 473.1 kB / 445.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.201, allocations: 0 / 445.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003003/0.2013, allocations: 0.5162 MB / 445.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2013, allocations: 4 kB / 445.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2013, allocations: 0 / 445.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2013, allocations: 4 kB / 445.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.2014, allocations: 31.97 kB / 445.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2014, allocations: 0 / 445.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.2014, allocations: 19.78 kB / 445.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2015, allocations: 8 kB / 445.7 MB, free: 4.633 MB / 330.7 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 5.375e-05/0.2015, allocations: 125.7 kB / 445.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.2015, allocations: 7.953 kB / 445.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.202, allocations: 0.7016 MB / 446.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.202, allocations: 4 kB / 446.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.202, allocations: 0 / 446.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.202, allocations: 7.984 kB / 446.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.2025, allocations: 0.8842 MB / 447.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2025, allocations: 4.344 kB / 447.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.2026, allocations: 39.91 kB / 447.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2026, allocations: 3.938 kB / 447.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2026, allocations: 9.312 kB / 447.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2026, allocations: 0 / 447.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2026, allocations: 4 kB / 447.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.2028, allocations: 379.8 kB / 447.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.2028, allocations: 19.83 kB / 447.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2029, allocations: 15.89 kB / 447.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.2029, allocations: 8 kB / 447.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.2029, allocations: 24.98 kB / 448 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2029, allocations: 8 kB / 448 MB, free: 2.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.062e-05/0.203, allocations: 171.8 kB / 448.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.203, allocations: 0 / 448.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001663/0.2047, allocations: 0.7555 MB / 448.9 MB, free: 1.25 MB / 330.7 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.002443/0.2071, allocations: 2.121 MB / 451 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2075, allocations: 311.7 kB / 451.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2075, allocations: 0 / 451.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.2076, allocations: 103.8 kB / 451.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.208, allocations: 88.56 kB / 451.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.2104, allocations: 3.147 MB / 454.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.2105, allocations: 99.66 kB / 454.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.2107, allocations: 283.9 kB / 455 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.2108, allocations: 48.47 kB / 455.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2108, allocations: 0 / 455.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.2541, allocations: 29.34 MB / 484.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.758, allocations: 10.75 kB / 484.4 MB, free: 13.67 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.463119132444263] Failed to read output from testmodel.py, exit status != 0: 7.8524225149303675 7.863061183 7.670123926 Calling exit ...