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.001051/0.001051, 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.0008501/0.0008501, 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.8746/0.8746, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03121/0.03121, allocations: 7.518 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.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.413e-06/1.413e-06, allocations: 0 / 391.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.916e-05, allocations: 5.234 kB / 391.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01363/0.01364, allocations: 15.77 MB / 407.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.02451, allocations: 14.87 MB / 422.4 MB, free: 7.59 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.02455, allocations: 0 / 422.4 MB, free: 7.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.0251, allocations: 247.1 kB / 422.6 MB, free: 7.348 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.03643, allocations: 6.4 MB / 429 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.03738, allocations: 0.6024 MB / 429.6 MB, free: 340 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.03755, allocations: 202.8 kB / 429.8 MB, free: 136 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.03759, allocations: 1.312 kB / 429.8 MB, free: 132 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.03772, allocations: 115.7 kB / 430 MB, free: 16 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.03781, allocations: 43.83 kB / 430 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.03783, allocations: 4 kB / 430 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/0.04569, allocations: 6.856 MB / 436.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.04571, allocations: 15.92 kB / 436.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.04576, allocations: 39.86 kB / 436.9 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.05037, allocations: 4.033 MB / 440.9 MB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.05038, allocations: 0 / 440.9 MB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05038, allocations: 0 / 440.9 MB, free: 5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.05038, allocations: 0 / 440.9 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.001341/0.05172, allocations: 0.8446 MB / 441.8 MB, free: 4.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.05176, allocations: 8.625 kB / 441.8 MB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.0518, allocations: 46.55 kB / 441.8 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.0519, allocations: 27.83 kB / 441.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.05206, allocations: 145 kB / 442 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.05207, allocations: 4 kB / 442 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.05209, allocations: 12 kB / 442 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.05224, allocations: 135.2 kB / 442.2 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.05224, allocations: 4 kB / 442.2 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.05225, allocations: 4 kB / 442.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.05226, allocations: 0 / 442.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.05236, allocations: 103.9 kB / 442.3 MB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.05285, allocations: 459.8 kB / 442.7 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.05305, allocations: 109.2 kB / 442.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.05311, allocations: 65.77 kB / 442.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1847/0.2378, allocations: 10.91 MB / 453.8 MB, free: 92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2378, allocations: 37.53 kB / 453.8 MB, free: 91.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.294e-06/0.2378, allocations: 0 / 453.8 MB, free: 91.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005055/0.2383, allocations: 228.2 kB / 454.1 MB, free: 91.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2383, allocations: 80.95 kB / 454.1 MB, free: 91.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.2384, allocations: 124.1 kB / 454.3 MB, free: 91.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2384, allocations: 29.7 kB / 454.3 MB, free: 91.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.2384, allocations: 86.14 kB / 454.4 MB, free: 91.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.2385, allocations: 87.56 kB / 454.5 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.2385, allocations: 38.08 kB / 454.5 MB, free: 91.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.307e-05/0.2385, allocations: 321.5 kB / 454.8 MB, free: 91.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.2386, allocations: 43.16 kB / 454.9 MB, free: 91.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.2386, allocations: 62.44 kB / 454.9 MB, free: 91.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.2388, allocations: 135.8 kB / 455 MB, free: 91.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2388, allocations: 0 / 455 MB, free: 91.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000162/0.2389, allocations: 161.8 kB / 455.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2389, allocations: 6.312 kB / 455.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.239, allocations: 0 / 455.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.239, allocations: 2.938 kB / 455.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.239, allocations: 29.52 kB / 455.2 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.239, allocations: 0 / 455.2 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.2391, allocations: 13.17 kB / 455.3 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2391, allocations: 6.156 kB / 455.3 MB, free: 90.94 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 6.789e-05/0.2392, allocations: 120.7 kB / 455.4 MB, free: 90.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.2392, allocations: 14.34 kB / 455.4 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.2395, allocations: 309.1 kB / 455.7 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001804/0.2397, allocations: 254.5 kB / 455.9 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2397, allocations: 0 / 455.9 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2397, allocations: 9.141 kB / 456 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.2402, allocations: 0.7096 MB / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2402, allocations: 3.25 kB / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2403, allocations: 38.81 kB / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2403, allocations: 0 / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2403, allocations: 6.969 kB / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2403, allocations: 0 / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.2403, allocations: 3.031 kB / 456.7 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.2407, allocations: 0.5372 MB / 457.3 MB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.2407, allocations: 21.94 kB / 457.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2407, allocations: 4 kB / 457.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.2408, allocations: 2.906 kB / 457.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.2408, allocations: 16.47 kB / 457.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.2408, allocations: 9.656 kB / 457.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.2408, allocations: 99.67 kB / 457.4 MB, free: 89.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2408, allocations: 0 / 457.4 MB, free: 89.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0017/0.2425, allocations: 0.9446 MB / 458.3 MB, free: 89.54 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.002886/0.2454, allocations: 2.542 MB / 460.9 MB, free: 88.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.2457, allocations: 230.6 kB / 461.1 MB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2457, allocations: 0 / 461.1 MB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.2458, allocations: 113.7 kB / 461.2 MB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.2463, allocations: 144.4 kB / 461.4 MB, free: 88.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.248, allocations: 2.416 MB / 463.8 MB, free: 86.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.519e-05/0.248, allocations: 123.3 kB / 463.9 MB, free: 86.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.2481, allocations: 44.97 kB / 463.9 MB, free: 86.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.2482, allocations: 60.16 kB / 464 MB, free: 86.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2482, allocations: 4 kB / 464 MB, free: 86.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/0.2993, allocations: 31.81 MB / 495.8 MB, free: 73.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.714, allocations: 15.88 kB / 495.8 MB, free: 73.4 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: 10.845151762478054] Failed to read output from testmodel.py, exit status != 0: 7.809852949343622 7.816349186 7.764576976 Calling exit ...