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.001006/0.001006, 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.001008/0.001008, 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.8999/0.8999, 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.03418/0.03418, allocations: 7.509 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.733e-06/1.733e-06, allocations: 0 / 391.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.343e-05, allocations: 6.219 kB / 391.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01479/0.01481, allocations: 11.83 MB / 403.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008372/0.02319, allocations: 7.513 MB / 411.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.02329, allocations: 0 / 411.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.02349, allocations: 43.73 kB / 411.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.168/0.1914, allocations: 1.874 MB / 413 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005406/0.1968, allocations: 2.297 MB / 415.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.197, allocations: 133.1 kB / 415.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.1971, allocations: 4.188 kB / 415.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.1972, allocations: 64.27 kB / 415.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.1972, allocations: 45.19 kB / 415.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1973, allocations: 2.906 kB / 415.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.2092, allocations: 6.638 MB / 422.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.2092, allocations: 17.22 kB / 422.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.2092, allocations: 35.03 kB / 422.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008032/0.2173, allocations: 4.894 MB / 427.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2173, allocations: 1.156 kB / 427.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2173, allocations: 4 kB / 427.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2173, allocations: 0 / 427.1 MB, free: 13.79 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.002389/0.2197, allocations: 0.8236 MB / 428 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2197, allocations: 13.45 kB / 428 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.2198, allocations: 37.59 kB / 428 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.22, allocations: 46.28 kB / 428.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2201, allocations: 150 kB / 428.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2201, allocations: 8.688 kB / 428.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2202, allocations: 11.25 kB / 428.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.2207, allocations: 269.8 kB / 428.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2207, allocations: 0 / 428.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2207, allocations: 5.375 kB / 428.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2207, allocations: 1.375 kB / 428.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.2211, allocations: 212.6 kB / 428.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.2215, allocations: 431.8 kB / 429.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.222, allocations: 229.4 kB / 429.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.2221, allocations: 54.25 kB / 429.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0564/0.2785, allocations: 35.07 MB / 464.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2785, allocations: 38.56 kB / 464.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.2785, allocations: 0 / 464.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009981/0.2795, allocations: 372.5 kB / 464.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2796, allocations: 85.05 kB / 465 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.2797, allocations: 130.1 kB / 465.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2797, allocations: 29.7 kB / 465.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.28, allocations: 92.09 kB / 465.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.28, allocations: 55.53 kB / 465.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.2801, allocations: 65.61 kB / 465.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.2802, allocations: 322.8 kB / 465.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.2802, allocations: 55.97 kB / 465.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2804, allocations: 86.36 kB / 465.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.2806, allocations: 149.1 kB / 465.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2806, allocations: 0 / 465.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003093/0.2809, allocations: 211.6 kB / 466.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2809, allocations: 8 kB / 466.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2809, allocations: 4.062 kB / 466.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2809, allocations: 0 / 466.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.281, allocations: 58.95 kB / 466.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.281, allocations: 3.938 kB / 466.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.2811, allocations: 15.83 kB / 466.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.2811, allocations: 23.97 kB / 466.3 MB, free: 12.25 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 8.348e-05/0.2812, allocations: 120.9 kB / 466.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.2813, allocations: 7.953 kB / 466.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.2827, allocations: 2.249 MB / 468.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.2827, allocations: 11.98 kB / 468.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2827, allocations: 7.938 kB / 468.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2827, allocations: 5.359 kB / 468.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.2834, allocations: 1.06 MB / 469.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2834, allocations: 3.984 kB / 469.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2835, allocations: 35.06 kB / 469.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2835, allocations: 0 / 469.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2835, allocations: 4 kB / 469.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2835, allocations: 0 / 469.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2836, allocations: 3.938 kB / 469.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.2841, allocations: 0.6528 MB / 470.4 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.2841, allocations: 31.86 kB / 470.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2841, allocations: 10.5 kB / 470.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.2842, allocations: 0 / 470.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2842, allocations: 17 kB / 470.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.2842, allocations: 4 kB / 470.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.2843, allocations: 99.27 kB / 470.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2843, allocations: 0 / 470.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002709/0.287, allocations: 0.924 MB / 471.5 MB, free: 6.918 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.003972/0.291, allocations: 2.325 MB / 473.8 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2913, allocations: 216.6 kB / 474 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2913, allocations: 0 / 474 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2914, allocations: 127.4 kB / 474.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.2919, allocations: 82.97 kB / 474.2 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.2948, allocations: 2.577 MB / 476.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.2949, allocations: 129.1 kB / 476.9 MB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.2952, allocations: 378.1 kB / 477.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2953, allocations: 72.47 kB / 477.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2953, allocations: 0 / 477.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.3456, allocations: 37.59 MB / 0.5029 GB, free: 11.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.591, allocations: 5 kB / 0.5029 GB, free: 11.57 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.443570228293538] Failed to read output from testmodel.py, exit status != 0: 8.698829683475196 8.708273859 8.488298983 Calling exit ...