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.000724/0.000724, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007617/0.0007617, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8643/0.8643, 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.02942/0.02942, allocations: 7.509 MB / 266.7 MB, free: 6.203 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.473e-06/1.473e-06, allocations: 0 / 391.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.595e-05, allocations: 9.031 kB / 391.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01327/0.0133, allocations: 15.82 MB / 407.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1631/0.1764, allocations: 14.97 MB / 422.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.1765, allocations: 4 kB / 422.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.1771, allocations: 245.2 kB / 422.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.1907, allocations: 6.485 MB / 429.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1922, allocations: 0.6298 MB / 429.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1924, allocations: 211.7 kB / 430.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.1925, allocations: 7.281 kB / 430.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1926, allocations: 129.8 kB / 430.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1927, allocations: 47.03 kB / 430.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1927, allocations: 3.219 kB / 430.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.204, allocations: 7.014 MB / 437.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2041, allocations: 19.81 kB / 437.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.2041, allocations: 36.28 kB / 437.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.2144, allocations: 4.034 MB / 441.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.2144, allocations: 3.984 kB / 441.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2144, allocations: 4 kB / 441.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2144, allocations: 2.844 kB / 441.4 MB, free: 7.488 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.001932/0.2163, allocations: 0.8373 MB / 442.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2164, allocations: 8.406 kB / 442.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.2164, allocations: 46.89 kB / 442.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2165, allocations: 25.66 kB / 442.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2167, allocations: 140.7 kB / 442.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2167, allocations: 10.98 kB / 442.5 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2167, allocations: 7.562 kB / 442.5 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.2169, allocations: 133.4 kB / 442.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2169, allocations: 4 kB / 442.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2169, allocations: 2.125 kB / 442.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2169, allocations: 6.266 kB / 442.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.217, allocations: 109.1 kB / 442.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.2175, allocations: 450.9 kB / 443.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.2177, allocations: 107.2 kB / 443.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.2177, allocations: 68.47 kB / 443.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02344/0.2412, allocations: 10.93 MB / 454.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2412, allocations: 37.06 kB / 454.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.667e-06/0.2412, allocations: 2.297 kB / 454.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.000501/0.2417, allocations: 231.8 kB / 454.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2418, allocations: 85.11 kB / 454.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.2418, allocations: 129.7 kB / 454.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2419, allocations: 25.7 kB / 454.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.2419, allocations: 84.64 kB / 454.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.242, allocations: 91.25 kB / 455 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.242, allocations: 33.7 kB / 455 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.2421, allocations: 322.8 kB / 455.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.2421, allocations: 43.98 kB / 455.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.2422, allocations: 70.23 kB / 455.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2423, allocations: 124.1 kB / 455.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2423, allocations: 4 kB / 455.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001691/0.2425, allocations: 168.3 kB / 455.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2425, allocations: 8.781 kB / 455.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2425, allocations: 0 / 455.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2425, allocations: 0 / 455.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.2426, allocations: 23.92 kB / 455.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2426, allocations: 0.5469 kB / 455.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.2426, allocations: 19.83 kB / 455.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2427, allocations: 4 kB / 455.8 MB, free: 10.73 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 6.974e-05/0.2427, allocations: 117.8 kB / 455.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.2428, allocations: 23.91 kB / 455.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.2431, allocations: 310.1 kB / 456.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001925/0.2433, allocations: 240.4 kB / 456.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2433, allocations: 4 kB / 456.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2433, allocations: 0 / 456.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.2439, allocations: 0.7148 MB / 457.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2439, allocations: 4 kB / 457.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.244, allocations: 40.8 kB / 457.2 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.244, allocations: 4 kB / 457.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.244, allocations: 4 kB / 457.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.244, allocations: 4 kB / 457.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.244, allocations: 0 / 457.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.2444, allocations: 0.5288 MB / 457.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.2444, allocations: 23.78 kB / 457.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2445, allocations: 8.547 kB / 457.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.2445, allocations: 4 kB / 457.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.2445, allocations: 19.97 kB / 457.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2446, allocations: 4 kB / 457.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.2446, allocations: 103.3 kB / 457.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2446, allocations: 0 / 457.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002111/0.2467, allocations: 0.9384 MB / 458.8 MB, free: 7.562 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.003576/0.2503, allocations: 2.532 MB / 461.4 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.2506, allocations: 235.8 kB / 461.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2506, allocations: 4 kB / 461.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.2507, allocations: 106 kB / 461.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.2513, allocations: 146.9 kB / 461.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.2536, allocations: 2.427 MB / 464.3 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2538, allocations: 125.1 kB / 464.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.2539, allocations: 46.05 kB / 464.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.254, allocations: 64.48 kB / 464.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.572e-06/0.254, allocations: 0 / 464.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.3036, allocations: 31.81 MB / 496.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.946, allocations: 2.75 kB / 496.3 MB, free: 2.164 MB / 378.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.670708435587585] Failed to read output from testmodel.py, exit status != 0: 8.042704553343356 8.050453034 7.834169568 Calling exit ...