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.001811/0.001811, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002439/0.002439, allocations: 212 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.05202/0.05202, allocations: 9.131 MB / 321.6 MB, free: 10.32 MB / 254.1 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 0.001886/0.001886, allocations: 75.83 kB / 446.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 54.94 MB / 0.4897 GB, free: 9.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01931/0.1244, allocations: 15.79 MB / 0.5051 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2181/0.3426, allocations: 14.85 MB / 0.5196 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.3427, allocations: 0 / 0.5196 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.3433, allocations: 226.6 kB / 0.5199 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.3587, allocations: 6.322 MB / 0.526 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3602, allocations: 0.5831 MB / 0.5266 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3604, allocations: 190.5 kB / 0.5268 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3604, allocations: 6.094 kB / 0.5268 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3606, allocations: 91.11 kB / 0.5269 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3607, allocations: 48.62 kB / 0.5269 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3607, allocations: 3.156 kB / 0.5269 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.3743, allocations: 6.804 MB / 0.5336 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.3743, allocations: 17.16 kB / 0.5336 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3744, allocations: 48.69 kB / 0.5336 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00783/0.3823, allocations: 3.429 MB / 0.537 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3823, allocations: 0 / 0.537 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3823, allocations: 0 / 0.537 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3823, allocations: 4 kB / 0.537 GB, free: 5.082 MB / 382.1 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.001734/0.384, allocations: 0.8399 MB / 0.5378 GB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3841, allocations: 9.312 kB / 0.5378 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.3841, allocations: 41.3 kB / 0.5379 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.3843, allocations: 25.28 kB / 0.5379 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3844, allocations: 148.3 kB / 0.538 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3844, allocations: 2.281 kB / 0.538 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3844, allocations: 8.406 kB / 0.538 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3846, allocations: 133.9 kB / 0.5382 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3846, allocations: 4 kB / 0.5382 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3846, allocations: 3.688 kB / 0.5382 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3846, allocations: 5.969 kB / 0.5382 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3848, allocations: 109.7 kB / 0.5383 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3852, allocations: 447.1 kB / 0.5387 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3854, allocations: 110.3 kB / 0.5388 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.3855, allocations: 62.73 kB / 0.5389 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0435/0.429, allocations: 10.92 MB / 0.5495 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.4291, allocations: 36.91 kB / 0.5496 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.665e-06/0.4291, allocations: 0 / 0.5496 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006087/0.4297, allocations: 225.6 kB / 0.5498 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.4297, allocations: 87.67 kB / 0.5499 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4298, allocations: 121 kB / 0.55 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4299, allocations: 32.2 kB / 0.55 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.4299, allocations: 87.77 kB / 0.5501 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.43, allocations: 83.69 kB / 0.5502 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.43, allocations: 36.11 kB / 0.5502 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.4303, allocations: 324 kB / 0.5505 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.4304, allocations: 48.83 kB / 0.5506 GB, free: 15.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.4305, allocations: 65.02 kB / 0.5506 GB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4307, allocations: 117.8 kB / 0.5507 GB, free: 15.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4307, allocations: 3.375 kB / 0.5508 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002394/0.4309, allocations: 170.6 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4309, allocations: 6.156 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4309, allocations: 3.203 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.431, allocations: 1.875 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.431, allocations: 24.08 kB / 0.5509 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.4311, allocations: 2.5 kB / 0.5509 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/0.4311, allocations: 11.55 kB / 0.551 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4312, allocations: 6.312 kB / 0.551 GB, free: 14.91 MB / 398.1 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 0.0001056/0.4313, allocations: 118.7 kB / 0.5511 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.4313, allocations: 22.84 kB / 0.5511 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.4318, allocations: 316.7 kB / 0.5514 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002766/0.432, allocations: 253.5 kB / 0.5516 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.432, allocations: 0 / 0.5516 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4321, allocations: 2.906 kB / 0.5516 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009693/0.433, allocations: 0.7115 MB / 0.5523 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.433, allocations: 0 / 0.5523 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4332, allocations: 47.86 kB / 0.5524 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4332, allocations: 0 / 0.5524 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4332, allocations: 8 kB / 0.5524 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4332, allocations: 0 / 0.5524 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4332, allocations: 4 kB / 0.5524 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.4338, allocations: 0.5325 MB / 0.5529 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.4338, allocations: 24.33 kB / 0.5529 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.4339, allocations: 7.984 kB / 0.553 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.434, allocations: 8 kB / 0.553 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.434, allocations: 11.97 kB / 0.553 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.4341, allocations: 16 kB / 0.553 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.4341, allocations: 95.27 kB / 0.5531 GB, free: 13.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4341, allocations: 0 / 0.5531 GB, free: 13.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002899/0.437, allocations: 0.9424 MB / 0.554 GB, free: 12.14 MB / 398.1 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.004995/0.442, allocations: 2.429 MB / 0.5564 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.4424, allocations: 240.5 kB / 0.5566 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4424, allocations: 4 kB / 0.5566 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.4426, allocations: 106.4 kB / 0.5567 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.4435, allocations: 140.6 kB / 0.5568 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.447, allocations: 2.458 MB / 0.5592 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.4471, allocations: 125 kB / 0.5594 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.4473, allocations: 45.36 kB / 0.5594 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4474, allocations: 63.42 kB / 0.5595 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4474, allocations: 0 / 0.5595 GB, free: 6.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.5211, allocations: 31.74 MB / 0.5905 GB, free: 7.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.49, allocations: 7.859 kB / 0.5905 GB, free: 7.062 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.753815565723926] Failed to read output from testmodel.py, exit status != 0: 12.614785369019955 12.64326257 12.25615405 Calling exit ...