Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.0007669/0.0007669, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008132/0.0008132, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.863/0.863, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02782/0.02782, allocations: 7.521 MB / 266.7 MB, free: 6.191 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.CheckDerivativesHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 391.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.113e-05, allocations: 2.281 kB / 391.8 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01325/0.01327, allocations: 15.77 MB / 407.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.02407, allocations: 14.87 MB / 422.4 MB, free: 7.605 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.02413, allocations: 0 / 422.4 MB, free: 7.605 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.02464, allocations: 239.1 kB / 422.6 MB, free: 7.371 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.03474, allocations: 6.408 MB / 429 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.03558, allocations: 0.5985 MB / 429.6 MB, free: 360 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.03574, allocations: 202.8 kB / 429.8 MB, free: 156 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.03578, allocations: 9.312 kB / 429.8 MB, free: 144 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.0359, allocations: 115.6 kB / 430 MB, free: 28 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.03598, allocations: 39.97 kB / 430 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.03599, allocations: 4 kB / 430 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007556/0.04355, allocations: 6.856 MB / 436.9 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.04357, allocations: 15.92 kB / 436.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.04362, allocations: 47.84 kB / 436.9 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.04897, allocations: 4.033 MB / 441 MB, free: 5.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.04897, allocations: 4 kB / 441 MB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04897, allocations: 0 / 441 MB, free: 5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.04898, allocations: 0 / 441 MB, free: 5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001456/0.05043, allocations: 0.8408 MB / 441.8 MB, free: 4.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.05047, allocations: 8.625 kB / 441.8 MB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.0505, allocations: 38.56 kB / 441.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.0506, allocations: 27.83 kB / 441.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.05075, allocations: 145 kB / 442 MB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.05076, allocations: 4 kB / 442 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.05078, allocations: 8 kB / 442 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.05093, allocations: 139.3 kB / 442.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.05094, allocations: 0 / 442.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.05095, allocations: 7.984 kB / 442.2 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.05095, allocations: 0 / 442.2 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.05106, allocations: 107.8 kB / 442.3 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.05151, allocations: 455.7 kB / 442.7 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.05169, allocations: 109.1 kB / 442.8 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.05175, allocations: 69.75 kB / 442.9 MB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1769/0.2287, allocations: 10.91 MB / 453.8 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2287, allocations: 37.75 kB / 453.8 MB, free: 92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.344e-06/0.2287, allocations: 0 / 453.8 MB, free: 92 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004239/0.2291, allocations: 231.2 kB / 454.1 MB, free: 91.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.2291, allocations: 84.83 kB / 454.2 MB, free: 91.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.2292, allocations: 116.8 kB / 454.3 MB, free: 91.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.2292, allocations: 28.33 kB / 454.3 MB, free: 91.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.2292, allocations: 93.2 kB / 454.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2292, allocations: 82.36 kB / 454.5 MB, free: 91.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.2293, allocations: 41.58 kB / 454.5 MB, free: 91.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.856e-05/0.2293, allocations: 321.5 kB / 454.8 MB, free: 91.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.2293, allocations: 41.94 kB / 454.9 MB, free: 91.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.2294, allocations: 69.34 kB / 454.9 MB, free: 91.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.2295, allocations: 122.3 kB / 455 MB, free: 91.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2295, allocations: 3.188 kB / 455 MB, free: 91.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001328/0.2296, allocations: 161.6 kB / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2296, allocations: 6.375 kB / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2297, allocations: 3.375 kB / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2297, allocations: 3.219 kB / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.2297, allocations: 19.31 kB / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2297, allocations: 0 / 455.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.2298, allocations: 13.39 kB / 455.3 MB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2298, allocations: 10.5 kB / 455.3 MB, free: 90.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.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 4.811e-05/0.2298, allocations: 121.3 kB / 455.4 MB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.2298, allocations: 14.38 kB / 455.4 MB, free: 90.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2301, allocations: 319.8 kB / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000155/0.2303, allocations: 242.2 kB / 455.9 MB, free: 90.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2303, allocations: 2.297 kB / 455.9 MB, free: 90.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2303, allocations: 7.453 kB / 456 MB, free: 90.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.2308, allocations: 0.7136 MB / 456.7 MB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2308, allocations: 0 / 456.7 MB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.2309, allocations: 46.17 kB / 456.7 MB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2309, allocations: 0 / 456.7 MB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2309, allocations: 7.188 kB / 456.7 MB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2309, allocations: 0 / 456.7 MB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2309, allocations: 6.297 kB / 456.7 MB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2312, allocations: 0.5219 MB / 457.2 MB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.2312, allocations: 27.84 kB / 457.3 MB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.2312, allocations: 7.5 kB / 457.3 MB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.2313, allocations: 6.469 kB / 457.3 MB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2313, allocations: 21.28 kB / 457.3 MB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2313, allocations: 10.19 kB / 457.3 MB, free: 89.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.2313, allocations: 92.22 kB / 457.4 MB, free: 89.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2313, allocations: 0 / 457.4 MB, free: 89.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001341/0.2327, allocations: 0.9454 MB / 458.4 MB, free: 89.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.002265/0.2349, allocations: 2.536 MB / 460.9 MB, free: 88.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2351, allocations: 234.4 kB / 461.1 MB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2351, allocations: 4 kB / 461.1 MB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.2352, allocations: 112.1 kB / 461.2 MB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.2357, allocations: 141.7 kB / 461.4 MB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2372, allocations: 2.42 MB / 463.8 MB, free: 86.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.2372, allocations: 116.4 kB / 463.9 MB, free: 86.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.2373, allocations: 54.33 kB / 464 MB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.2374, allocations: 62.69 kB / 464 MB, free: 86.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2374, allocations: 0 / 464 MB, free: 86.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.2871, allocations: 31.98 MB / 496 MB, free: 73.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.916, allocations: 3.984 kB / 496 MB, free: 73.29 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium_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_CheckDerivativesHelium.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.0104722045362] Failed to read output from testmodel.py, exit status != 0: 8.009803225286305 8.02191839 7.97066721 Calling exit ...