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.001281/0.001281, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.002047/0.002047, allocations: 212 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05409/0.05409, allocations: 9.149 MB / 290.8 MB, free: 13.92 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 76.31 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08543, allocations: 50.72 MB / 456.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.0223/0.1077, allocations: 17.48 MB / 474.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.127, allocations: 16.95 MB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1271, allocations: 0 / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.1278, allocations: 315.1 kB / 491.3 MB, free: 11.36 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01846/0.1463, allocations: 6.449 MB / 497.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1481, allocations: 0.6065 MB / 498.4 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1484, allocations: 203 kB / 498.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.1484, allocations: 13.06 kB / 498.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1486, allocations: 95.64 kB / 498.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1487, allocations: 51.78 kB / 498.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1487, allocations: 4 kB / 498.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/0.1683, allocations: 10.09 MB / 0.4969 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1683, allocations: 19.91 kB / 0.4969 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1684, allocations: 51.75 kB / 0.497 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.1801, allocations: 4.033 MB / 0.5009 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1801, allocations: 0 / 0.5009 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1801, allocations: 0 / 0.5009 GB, free: 5.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1801, allocations: 0 / 0.5009 GB, free: 5.699 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.002264/0.1824, allocations: 0.9161 MB / 0.5018 GB, free: 4.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1824, allocations: 8.031 kB / 0.5018 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.1825, allocations: 46.48 kB / 0.5019 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.1827, allocations: 31.83 kB / 0.5019 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1829, allocations: 206.8 kB / 0.5021 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.183, allocations: 8 kB / 0.5021 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.183, allocations: 4 kB / 0.5021 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1832, allocations: 131.3 kB / 0.5022 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1832, allocations: 3.984 kB / 0.5022 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1833, allocations: 7.938 kB / 0.5023 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1833, allocations: 0 / 0.5023 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1834, allocations: 104 kB / 0.5024 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.1842, allocations: 0.5699 MB / 0.5029 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.1844, allocations: 113.1 kB / 0.503 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1846, allocations: 69.7 kB / 0.5031 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2943/0.4789, allocations: 33.17 MB / 0.5355 GB, free: 86.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.4789, allocations: 36.27 kB / 0.5355 GB, free: 86.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/0.4789, allocations: 0 / 0.5355 GB, free: 86.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006787/0.4796, allocations: 228.7 kB / 0.5357 GB, free: 86.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.4796, allocations: 79.8 kB / 0.5358 GB, free: 86.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.4797, allocations: 119.2 kB / 0.5359 GB, free: 86.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4797, allocations: 29.02 kB / 0.5359 GB, free: 86.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.4797, allocations: 86.89 kB / 0.536 GB, free: 86.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.4798, allocations: 91.27 kB / 0.5361 GB, free: 86.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.4799, allocations: 40.11 kB / 0.5362 GB, free: 86.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.4799, allocations: 325.8 kB / 0.5365 GB, free: 85.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.48, allocations: 45.94 kB / 0.5365 GB, free: 85.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.4801, allocations: 61.66 kB / 0.5366 GB, free: 85.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.4803, allocations: 125 kB / 0.5367 GB, free: 85.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4803, allocations: 0 / 0.5367 GB, free: 85.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002275/0.4805, allocations: 165.6 kB / 0.5368 GB, free: 85.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4805, allocations: 5.75 kB / 0.5368 GB, free: 85.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4805, allocations: 0 / 0.5368 GB, free: 85.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4805, allocations: 5.641 kB / 0.5369 GB, free: 85.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.4806, allocations: 18.44 kB / 0.5369 GB, free: 85.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4806, allocations: 4.688 kB / 0.5369 GB, free: 85.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.4807, allocations: 11.03 kB / 0.5369 GB, free: 85.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.4807, allocations: 8.609 kB / 0.5369 GB, free: 85.81 MB / 414.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 7.372e-05/0.4808, allocations: 118.9 kB / 0.537 GB, free: 85.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.4808, allocations: 13.53 kB / 0.537 GB, free: 85.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.4813, allocations: 314.2 kB / 0.5373 GB, free: 85.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003068/0.4816, allocations: 243.9 kB / 0.5376 GB, free: 85.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4816, allocations: 0 / 0.5376 GB, free: 85.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4816, allocations: 2.844 kB / 0.5376 GB, free: 85.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.4825, allocations: 0.7599 MB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4825, allocations: 0.9375 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4826, allocations: 42.31 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4827, allocations: 2.219 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4827, allocations: 3.125 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4827, allocations: 1.562 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4827, allocations: 1.312 kB / 0.5383 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.4832, allocations: 0.5284 MB / 0.5389 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.4832, allocations: 95.58 kB / 0.539 GB, free: 84.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.4832, allocations: 7.406 kB / 0.539 GB, free: 84.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4834, allocations: 6.25 kB / 0.539 GB, free: 84.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4834, allocations: 18.75 kB / 0.539 GB, free: 84.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.4834, allocations: 12.19 kB / 0.539 GB, free: 84.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.4835, allocations: 95.14 kB / 0.5391 GB, free: 84.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4835, allocations: 0 / 0.5391 GB, free: 84.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002556/0.486, allocations: 0.9481 MB / 0.54 GB, free: 84.59 MB / 414.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.004611/0.4906, allocations: 2.415 MB / 0.5424 GB, free: 83.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.4911, allocations: 226.9 kB / 0.5426 GB, free: 83.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4911, allocations: 0 / 0.5426 GB, free: 83.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4912, allocations: 111.2 kB / 0.5427 GB, free: 83.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4923, allocations: 150.4 kB / 0.5428 GB, free: 83.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.496, allocations: 2.441 MB / 0.5452 GB, free: 81.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.4962, allocations: 0.7328 MB / 0.5459 GB, free: 80.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.4964, allocations: 49.59 kB / 0.546 GB, free: 80.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4966, allocations: 61.95 kB / 0.546 GB, free: 80.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4966, allocations: 0 / 0.546 GB, free: 80.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/0.5635, allocations: 30.7 MB / 0.576 GB, free: 56.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/9.999, allocations: 11.92 kB / 0.576 GB, free: 56.27 MB / 414.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.72911105118692] Failed to read output from testmodel.py, exit status != 0: 10.090459998231381 10.105418045 9.921934527 Calling exit ...