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.0009326/0.0009326, 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.0008516/0.0008516, 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.8932/0.8932, 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.03303/0.03303, allocations: 7.512 MB / 266.7 MB, free: 6.199 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.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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 391.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.066e-05, allocations: 6.219 kB / 391.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01097/0.01099, allocations: 11.83 MB / 403.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.01704, allocations: 7.513 MB / 411.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.01712, allocations: 0 / 411.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.01731, allocations: 43.73 kB / 411.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1722/0.1895, allocations: 1.875 MB / 413 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00537/0.1949, allocations: 2.293 MB / 415.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1951, allocations: 131 kB / 415.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.1951, allocations: 8.938 kB / 415.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.1952, allocations: 58.2 kB / 415.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.1953, allocations: 37.62 kB / 415.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1953, allocations: 10.39 kB / 415.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.2058, allocations: 6.643 MB / 422.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.2058, allocations: 15.98 kB / 422.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.2059, allocations: 34.75 kB / 422.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.2138, allocations: 4.897 MB / 427.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2138, allocations: 0 / 427.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2138, allocations: 0 / 427.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2138, allocations: 0 / 427.1 MB, free: 13.81 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002536/0.2164, allocations: 0.8239 MB / 428 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2164, allocations: 9.812 kB / 428 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.2165, allocations: 38.88 kB / 428 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.2167, allocations: 45.59 kB / 428.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.2169, allocations: 146 kB / 428.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2169, allocations: 16.62 kB / 428.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2169, allocations: 11.25 kB / 428.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.2174, allocations: 262.8 kB / 428.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2174, allocations: 3 kB / 428.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2174, allocations: 5.375 kB / 428.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2174, allocations: 1.375 kB / 428.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.2179, allocations: 213.4 kB / 428.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.2185, allocations: 433.7 kB / 429.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.2191, allocations: 229.6 kB / 429.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.2192, allocations: 52.23 kB / 429.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07416/0.2934, allocations: 35.08 MB / 464.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.2934, allocations: 38.56 kB / 464.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 4.148e-06/0.2934, allocations: 0 / 464.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001148/0.2946, allocations: 369.3 kB / 464.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2946, allocations: 81.05 kB / 465 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2947, allocations: 133.9 kB / 465.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2948, allocations: 32.89 kB / 465.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2948, allocations: 96.09 kB / 465.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2948, allocations: 59.05 kB / 465.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.2949, allocations: 61.61 kB / 465.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.295, allocations: 322.8 kB / 465.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/0.2951, allocations: 55.97 kB / 465.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2952, allocations: 90.36 kB / 465.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.2954, allocations: 142.5 kB / 465.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2954, allocations: 0 / 465.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003247/0.2957, allocations: 216 kB / 466.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2957, allocations: 11.98 kB / 466.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2957, allocations: 0 / 466.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2958, allocations: 0 / 466.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2959, allocations: 58.95 kB / 466.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2959, allocations: 7.938 kB / 466.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.296, allocations: 7.891 kB / 466.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.296, allocations: 23.92 kB / 466.3 MB, free: 12.27 MB / 362.7 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 0.0001001/0.2961, allocations: 120.9 kB / 466.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.2962, allocations: 9.031 kB / 466.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.2981, allocations: 2.257 MB / 468.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.2982, allocations: 7.984 kB / 468.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2982, allocations: 7.938 kB / 468.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2982, allocations: 1.375 kB / 468.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.2989, allocations: 1.063 MB / 469.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2989, allocations: 0 / 469.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.299, allocations: 31.97 kB / 469.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.299, allocations: 0 / 469.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2991, allocations: 7.984 kB / 469.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2991, allocations: 3.094 kB / 469.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2991, allocations: 7.938 kB / 469.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.2996, allocations: 0.6521 MB / 470.4 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.2996, allocations: 27.75 kB / 470.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.2996, allocations: 10.5 kB / 470.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.2997, allocations: 0 / 470.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.2998, allocations: 15.92 kB / 470.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.2998, allocations: 10.89 kB / 470.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.524e-05/0.2998, allocations: 99.27 kB / 470.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2998, allocations: 0 / 470.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003676/0.3035, allocations: 0.9202 MB / 471.5 MB, free: 6.934 MB / 362.7 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.004965/0.3085, allocations: 2.329 MB / 473.8 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.3088, allocations: 207 kB / 474 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3088, allocations: 3.094 kB / 474 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3089, allocations: 131.4 kB / 474.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3094, allocations: 78.98 kB / 474.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3122, allocations: 2.584 MB / 476.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.3123, allocations: 124.5 kB / 476.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.3127, allocations: 370.9 kB / 477.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3128, allocations: 76.45 kB / 477.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3128, allocations: 0 / 477.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.3716, allocations: 37.46 MB / 0.5028 GB, free: 11.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.485, allocations: 7.125 kB / 0.5028 GB, free: 11.71 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.342483630403876] Failed to read output from testmodel.py, exit status != 0: 8.588550760410726 8.597232705 8.381677006 Calling exit ...