Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.0007231/0.0007231, 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.0007905/0.0007905, 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.8825/0.8825, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.02861/0.02861, allocations: 7.51 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.CheckDerivativesCarbondioxide,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 391.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.371e-05, allocations: 6.219 kB / 391.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01902/0.01905, allocations: 15.83 MB / 407.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1499/0.169, allocations: 14.98 MB / 422.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.169, allocations: 2.812 kB / 422.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.1695, allocations: 243.6 kB / 422.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.1802, allocations: 6.688 MB / 429.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.1811, allocations: 0.6256 MB / 430.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1813, allocations: 219.2 kB / 430.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.1813, allocations: 10.31 kB / 430.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1815, allocations: 128 kB / 430.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1816, allocations: 47.62 kB / 430.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1816, allocations: 2.719 kB / 430.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007838/0.1894, allocations: 7.512 MB / 438 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1894, allocations: 18.23 kB / 438 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1895, allocations: 34.86 kB / 438.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.1939, allocations: 4.115 MB / 442.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1939, allocations: 0 / 442.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1939, allocations: 0 / 442.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1939, allocations: 0 / 442.2 MB, free: 7.16 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001014/0.1949, allocations: 0.8554 MB / 443.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1949, allocations: 11.53 kB / 443.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.195, allocations: 46.77 kB / 443.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.824e-05/0.1951, allocations: 19.38 kB / 443.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1952, allocations: 139.9 kB / 443.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1952, allocations: 2.375 kB / 443.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1952, allocations: 10.34 kB / 443.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1953, allocations: 139.9 kB / 443.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1954, allocations: 0 / 443.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1954, allocations: 4 kB / 443.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1954, allocations: 10.5 kB / 443.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.238e-05/0.1955, allocations: 101.2 kB / 443.5 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.1958, allocations: 454.1 kB / 444 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.196, allocations: 108.4 kB / 444.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.196, allocations: 63.95 kB / 444.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02173/0.2178, allocations: 10.93 MB / 455.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2178, allocations: 41.05 kB / 455.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.2178, allocations: 0 / 455.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004603/0.2183, allocations: 224.1 kB / 455.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2183, allocations: 84.98 kB / 455.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.2184, allocations: 121.8 kB / 455.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2184, allocations: 33.7 kB / 455.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2184, allocations: 92.62 kB / 455.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.2185, allocations: 75.28 kB / 455.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2185, allocations: 33.7 kB / 455.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.2186, allocations: 326.8 kB / 456.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.2186, allocations: 39.98 kB / 456.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.2187, allocations: 74.28 kB / 456.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.2188, allocations: 125.6 kB / 456.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2188, allocations: 0 / 456.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001704/0.219, allocations: 176.4 kB / 456.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.219, allocations: 4 kB / 456.5 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.219, allocations: 4 kB / 456.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.219, allocations: 0 / 456.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.2191, allocations: 16 kB / 456.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2191, allocations: 7.984 kB / 456.5 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.2192, allocations: 7.891 kB / 456.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2192, allocations: 8 kB / 456.5 MB, free: 9.914 MB / 346.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 7.324e-05/0.2192, allocations: 125.9 kB / 456.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.2193, allocations: 11.91 kB / 456.7 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.2196, allocations: 310.4 kB / 457 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001881/0.2198, allocations: 247.2 kB / 457.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2198, allocations: 0 / 457.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2198, allocations: 3.984 kB / 457.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.2204, allocations: 0.7225 MB / 457.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2204, allocations: 0 / 457.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.2205, allocations: 44.8 kB / 458 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2205, allocations: 0 / 458 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2205, allocations: 7.984 kB / 458 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2205, allocations: 4 kB / 458 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2205, allocations: 0 / 458 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.2209, allocations: 0.5331 MB / 458.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.2209, allocations: 15.88 kB / 458.5 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2209, allocations: 10.06 kB / 458.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.221, allocations: 4 kB / 458.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.221, allocations: 23.84 kB / 458.6 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.221, allocations: 8 kB / 458.6 MB, free: 7.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.2211, allocations: 95.27 kB / 458.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2211, allocations: 0 / 458.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001853/0.2229, allocations: 0.9424 MB / 459.6 MB, free: 6.738 MB / 346.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.002833/0.2258, allocations: 2.574 MB / 462.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.226, allocations: 231.8 kB / 462.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.226, allocations: 4 kB / 462.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.2261, allocations: 115.1 kB / 462.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.2266, allocations: 150.1 kB / 462.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2285, allocations: 2.424 MB / 465.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.431e-05/0.2285, allocations: 121.1 kB / 465.2 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.2286, allocations: 45.86 kB / 465.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.2287, allocations: 64.48 kB / 465.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2287, allocations: 0 / 465.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.2781, allocations: 31.88 MB / 497.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.162, allocations: 6.734 kB / 497.2 MB, free: 1.273 MB / 378.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide_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_CheckDerivativesCarbondioxide.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.854112142696977] Failed to read output from testmodel.py, exit status != 0: 8.261567916721106 8.272802956 8.076952342 Calling exit ...