Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.00073/0.00073, 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.0007847/0.0007847, allocations: 169.9 kB / 22.45 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.8731/0.8731, 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.02744/0.02744, allocations: 7.514 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.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 391.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.493e-05, allocations: 5.094 kB / 391.8 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.0125/0.01252, allocations: 15.83 MB / 407.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02289, allocations: 14.98 MB / 422.6 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.02295, allocations: 0 / 422.6 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.02349, allocations: 259.2 kB / 422.8 MB, free: 7.164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.03391, allocations: 6.493 MB / 429.3 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009341/0.03485, allocations: 0.622 MB / 429.9 MB, free: 36 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.03501, allocations: 210.9 kB / 430.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.03505, allocations: 13.23 kB / 430.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.03517, allocations: 127.6 kB / 430.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.03524, allocations: 51.88 kB / 430.3 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.03526, allocations: 4 kB / 430.3 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007905/0.04316, allocations: 7.004 MB / 437.3 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.04318, allocations: 19.84 kB / 437.4 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.04323, allocations: 35.92 kB / 437.4 MB, free: 8.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.04835, allocations: 4.041 MB / 441.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.04835, allocations: 0 / 441.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.04836, allocations: 0 / 441.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.04836, allocations: 0 / 441.4 MB, free: 4.504 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.001075/0.04944, allocations: 0.8407 MB / 442.3 MB, free: 3.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.04947, allocations: 8.625 kB / 442.3 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.04951, allocations: 42.56 kB / 442.3 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.04961, allocations: 31.81 kB / 442.4 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.04978, allocations: 149 kB / 442.5 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.04978, allocations: 8 kB / 442.5 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.04981, allocations: 12 kB / 442.5 MB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.04995, allocations: 142.6 kB / 442.7 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.04996, allocations: 0 / 442.7 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.04997, allocations: 0 / 442.7 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.04998, allocations: 8 kB / 442.7 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.394e-05/0.05007, allocations: 99.89 kB / 442.8 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.05053, allocations: 451.7 kB / 443.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.0507, allocations: 113.2 kB / 443.3 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.05077, allocations: 65.7 kB / 443.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1694/0.2202, allocations: 10.91 MB / 454.3 MB, free: 91.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2202, allocations: 37.78 kB / 454.3 MB, free: 91.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.464e-06/0.2202, allocations: 0 / 454.3 MB, free: 91.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004803/0.2207, allocations: 235 kB / 454.6 MB, free: 91.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.2207, allocations: 80.27 kB / 454.6 MB, free: 91.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.2208, allocations: 114.4 kB / 454.8 MB, free: 91.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2208, allocations: 29.7 kB / 454.8 MB, free: 91.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.2208, allocations: 90.67 kB / 454.9 MB, free: 91.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.2208, allocations: 84.3 kB / 455 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2209, allocations: 36.05 kB / 455 MB, free: 91.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.2209, allocations: 325.8 kB / 455.3 MB, free: 90.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.221, allocations: 45.61 kB / 455.3 MB, free: 90.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.221, allocations: 68.33 kB / 455.4 MB, free: 90.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.2211, allocations: 116.3 kB / 455.5 MB, free: 90.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2211, allocations: 2.438 kB / 455.5 MB, free: 90.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001386/0.2213, allocations: 176.3 kB / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2213, allocations: 6.312 kB / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2213, allocations: 0 / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2213, allocations: 0 / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.2214, allocations: 19.47 kB / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.2214, allocations: 6.906 kB / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.2214, allocations: 11.14 kB / 455.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2214, allocations: 7.125 kB / 455.8 MB, free: 90.73 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.809e-05/0.2215, allocations: 120.1 kB / 455.9 MB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.2215, allocations: 10.11 kB / 455.9 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2218, allocations: 313.4 kB / 456.2 MB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001459/0.2219, allocations: 251.8 kB / 456.4 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2219, allocations: 0 / 456.4 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2219, allocations: 5.719 kB / 456.4 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.2224, allocations: 0.7087 MB / 457.1 MB, free: 89.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2224, allocations: 0 / 457.1 MB, free: 89.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.2225, allocations: 45.2 kB / 457.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2225, allocations: 0 / 457.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2225, allocations: 7 kB / 457.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2225, allocations: 5.984 kB / 457.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2225, allocations: 3.031 kB / 457.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.2228, allocations: 0.5404 MB / 457.7 MB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.2229, allocations: 19.02 kB / 457.8 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2229, allocations: 4 kB / 457.8 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.2229, allocations: 6.906 kB / 457.8 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.223, allocations: 16.02 kB / 457.8 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.223, allocations: 9.375 kB / 457.8 MB, free: 89.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.223, allocations: 96.14 kB / 457.9 MB, free: 89.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.223, allocations: 0 / 457.9 MB, free: 89.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001358/0.2244, allocations: 0.9434 MB / 458.8 MB, free: 89.35 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.002302/0.2267, allocations: 2.545 MB / 461.4 MB, free: 88.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2269, allocations: 223.2 kB / 461.6 MB, free: 88.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2269, allocations: 3.062 kB / 461.6 MB, free: 88.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.227, allocations: 106.3 kB / 461.7 MB, free: 88.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.2275, allocations: 144.2 kB / 461.8 MB, free: 88.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.229, allocations: 2.42 MB / 464.3 MB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.229, allocations: 126.2 kB / 464.4 MB, free: 86.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.2291, allocations: 44.67 kB / 464.4 MB, free: 86.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.2292, allocations: 67.41 kB / 464.5 MB, free: 86.09 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2292, allocations: 0 / 464.5 MB, free: 86.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.2741, allocations: 31.98 MB / 496.5 MB, free: 72.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.741, allocations: 2.656 kB / 496.5 MB, free: 72.69 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane_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_CheckDerivativesButane.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.559809611178935] Failed to read output from testmodel.py, exit status != 0: 7.835721014067531 7.844403107 7.793915471 Calling exit ...