Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.001755/0.001755, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.002031/0.002031, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05213/0.05213, allocations: 9.151 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.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",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.003434/0.003434, allocations: 72.17 kB / 405.9 MB, free: 47.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1159, allocations: 50.72 MB / 456.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.02374/0.1396, allocations: 12.89 MB / 469.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1524, allocations: 8.599 MB / 478.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1525, allocations: 0 / 478.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1527, allocations: 47.7 kB / 478.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.1578, allocations: 1.892 MB / 480 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006442/0.1642, allocations: 2.26 MB / 482.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1644, allocations: 123.1 kB / 482.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1645, allocations: 11.98 kB / 482.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.1645, allocations: 43.8 kB / 482.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.1646, allocations: 47.78 kB / 482.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1646, allocations: 4 kB / 482.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.1777, allocations: 6.934 MB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.1777, allocations: 23.84 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.1778, allocations: 43.8 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009275/0.1871, allocations: 3.777 MB / 493.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1871, allocations: 0 / 493.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1871, allocations: 3.938 kB / 493.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1871, allocations: 0 / 493.3 MB, free: 9.543 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002685/0.1898, allocations: 0.9055 MB / 494.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1899, allocations: 12.03 kB / 494.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1899, allocations: 38.73 kB / 494.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.1902, allocations: 52.8 kB / 494.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1905, allocations: 196.3 kB / 494.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1905, allocations: 16.31 kB / 494.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1906, allocations: 19.89 kB / 494.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009384/0.1915, allocations: 251.2 kB / 494.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1915, allocations: 0 / 494.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1915, allocations: 8 kB / 494.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1915, allocations: 0 / 494.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.1923, allocations: 211.8 kB / 495 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.1932, allocations: 0.674 MB / 495.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.1942, allocations: 229 kB / 495.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.1943, allocations: 53.73 kB / 495.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3268/0.5211, allocations: 64.22 MB / 0.547 GB, free: 79.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.5211, allocations: 35.19 kB / 0.5471 GB, free: 79.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.5211, allocations: 1.094 kB / 0.5471 GB, free: 79.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001621/0.5227, allocations: 376.6 kB / 0.5474 GB, free: 79.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.5227, allocations: 82.11 kB / 0.5475 GB, free: 78.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.5228, allocations: 130.4 kB / 0.5476 GB, free: 78.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5228, allocations: 29.83 kB / 0.5477 GB, free: 78.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.5229, allocations: 91.72 kB / 0.5477 GB, free: 78.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.5229, allocations: 56.39 kB / 0.5478 GB, free: 78.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.523, allocations: 60.52 kB / 0.5479 GB, free: 78.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.5231, allocations: 320.6 kB / 0.5482 GB, free: 78.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5232, allocations: 58.22 kB / 0.5482 GB, free: 78.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5234, allocations: 94.95 kB / 0.5483 GB, free: 78.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.5236, allocations: 146.3 kB / 0.5484 GB, free: 78.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5237, allocations: 0 / 0.5484 GB, free: 78.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004875/0.5241, allocations: 213.9 kB / 0.5487 GB, free: 78.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5242, allocations: 6.031 kB / 0.5487 GB, free: 78.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5242, allocations: 4.062 kB / 0.5487 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5242, allocations: 6.141 kB / 0.5487 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.5244, allocations: 61.23 kB / 0.5487 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5244, allocations: 1.781 kB / 0.5487 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.5245, allocations: 12.12 kB / 0.5487 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.5245, allocations: 18.11 kB / 0.5488 GB, free: 78.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 prepare postOptimizeDAE: time 8.412e-05/0.5246, allocations: 124.2 kB / 0.5489 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.5247, allocations: 10.67 kB / 0.5489 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.5265, allocations: 2.114 MB / 0.5509 GB, free: 76.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5265, allocations: 2.25 kB / 0.551 GB, free: 76.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5265, allocations: 7.484 kB / 0.551 GB, free: 76.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5265, allocations: 5 kB / 0.551 GB, free: 76.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.5274, allocations: 1.053 MB / 0.552 GB, free: 75.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5274, allocations: 1.094 kB / 0.552 GB, free: 75.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.5276, allocations: 34.94 kB / 0.552 GB, free: 75.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5276, allocations: 3.984 kB / 0.552 GB, free: 75.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5276, allocations: 0 / 0.552 GB, free: 75.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5276, allocations: 0.5312 kB / 0.552 GB, free: 75.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5276, allocations: 5.031 kB / 0.552 GB, free: 75.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.5282, allocations: 0.6502 MB / 0.5527 GB, free: 75.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.5282, allocations: 101.4 kB / 0.5528 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.5282, allocations: 0 / 0.5528 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5284, allocations: 7.969 kB / 0.5528 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.5284, allocations: 8.781 kB / 0.5528 GB, free: 75.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5284, allocations: 8.031 kB / 0.5528 GB, free: 75.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.5285, allocations: 103 kB / 0.5529 GB, free: 75.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5285, allocations: 0 / 0.5529 GB, free: 75.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002086/0.5306, allocations: 0.921 MB / 0.5538 GB, free: 75.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.003998/0.5346, allocations: 2.178 MB / 0.5559 GB, free: 74.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.535, allocations: 205.5 kB / 0.5561 GB, free: 73.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.535, allocations: 0 / 0.5561 GB, free: 73.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.5351, allocations: 132 kB / 0.5562 GB, free: 73.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.5357, allocations: 67.14 kB / 0.5563 GB, free: 73.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.5389, allocations: 2.606 MB / 0.5588 GB, free: 71.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.539, allocations: 0.7328 MB / 0.5596 GB, free: 70.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.5393, allocations: 376.5 kB / 0.5599 GB, free: 70.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5394, allocations: 67.41 kB / 0.56 GB, free: 70.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5394, allocations: 0 / 0.56 GB, free: 70.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.5968, allocations: 36.38 MB / 0.5955 GB, free: 34.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.87, allocations: 4 kB / 0.5955 GB, free: 34.03 MB / 414.1 MB " [Timeout remaining time 649] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.596353884786367] Failed to read output from testmodel.py, exit status != 0: 10.965680100023746 10.97937158 10.789293792 Calling exit ...