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.00176/0.00176, allocations: 112.2 kB / 16.46 MB, free: 6.453 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.00214/0.00214, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.554/1.554, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.0531/0.0531, allocations: 9.151 MB / 290.8 MB, free: 13.89 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.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: 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.002157/0.002157, allocations: 76.14 kB / 405.9 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07345/0.07561, allocations: 50.72 MB / 456.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02142/0.09703, allocations: 17.43 MB / 474 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.1151, allocations: 16.83 MB / 490.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1153, allocations: 0 / 490.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.1161, allocations: 307.1 kB / 491.2 MB, free: 11.61 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.01621/0.1324, allocations: 6.362 MB / 497.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1339, allocations: 0.5831 MB / 498.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1341, allocations: 195 kB / 498.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.1342, allocations: 9.109 kB / 498.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1343, allocations: 79.66 kB / 498.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1345, allocations: 51.78 kB / 498.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1345, allocations: 4 kB / 498.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.1528, allocations: 9.696 MB / 0.4962 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.1529, allocations: 11.92 kB / 0.4962 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.153, allocations: 59.72 kB / 0.4963 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.1645, allocations: 4.014 MB / 0.5002 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1645, allocations: 4 kB / 0.5002 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1645, allocations: 0 / 0.5002 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1645, allocations: 0 / 0.5002 GB, free: 6.504 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.002026/0.1665, allocations: 0.92 MB / 0.5011 GB, free: 5.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1666, allocations: 8.031 kB / 0.5011 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1666, allocations: 42.55 kB / 0.5012 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.1668, allocations: 39.77 kB / 0.5012 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.167, allocations: 198.8 kB / 0.5014 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1671, allocations: 12 kB / 0.5014 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1671, allocations: 4 kB / 0.5014 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1673, allocations: 135.3 kB / 0.5015 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1673, allocations: 0 / 0.5015 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1673, allocations: 7.938 kB / 0.5015 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1673, allocations: 3.984 kB / 0.5015 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1675, allocations: 95.97 kB / 0.5016 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.1682, allocations: 0.5778 MB / 0.5022 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1684, allocations: 109.1 kB / 0.5023 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1685, allocations: 65.77 kB / 0.5024 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2584/0.4269, allocations: 33.17 MB / 0.5348 GB, free: 87.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4269, allocations: 39.62 kB / 0.5348 GB, free: 87.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.505e-06/0.4269, allocations: 0 / 0.5348 GB, free: 87.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006669/0.4276, allocations: 226.6 kB / 0.535 GB, free: 87.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.4276, allocations: 80.12 kB / 0.5351 GB, free: 87.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.4277, allocations: 117.4 kB / 0.5352 GB, free: 86.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4277, allocations: 30.2 kB / 0.5352 GB, free: 86.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.4278, allocations: 90.39 kB / 0.5353 GB, free: 86.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4278, allocations: 86.81 kB / 0.5354 GB, free: 86.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.4279, allocations: 37.12 kB / 0.5354 GB, free: 86.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.4279, allocations: 324.1 kB / 0.5357 GB, free: 86.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.428, allocations: 46.97 kB / 0.5358 GB, free: 86.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.4281, allocations: 71.83 kB / 0.5359 GB, free: 86.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.4282, allocations: 121.1 kB / 0.536 GB, free: 86.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4282, allocations: 0 / 0.536 GB, free: 86.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002332/0.4285, allocations: 163.7 kB / 0.5361 GB, free: 86.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4285, allocations: 8.125 kB / 0.5361 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4285, allocations: 0 / 0.5361 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4285, allocations: 4.438 kB / 0.5361 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.4286, allocations: 19.83 kB / 0.5362 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.4286, allocations: 1.625 kB / 0.5362 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.4287, allocations: 12.88 kB / 0.5362 GB, free: 86.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.4287, allocations: 5.141 kB / 0.5362 GB, free: 86.37 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.806e-05/0.4288, allocations: 121.9 kB / 0.5363 GB, free: 86.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.4288, allocations: 13.41 kB / 0.5363 GB, free: 86.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.4293, allocations: 320.8 kB / 0.5366 GB, free: 86.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002662/0.4295, allocations: 239 kB / 0.5368 GB, free: 86.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4296, allocations: 1.703 kB / 0.5368 GB, free: 86.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4296, allocations: 2.281 kB / 0.5368 GB, free: 86.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.4304, allocations: 0.7592 MB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4304, allocations: 0 / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.4306, allocations: 40.09 kB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4306, allocations: 1.812 kB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4306, allocations: 3 kB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4306, allocations: 9.609 kB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4306, allocations: 1.094 kB / 0.5376 GB, free: 85.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.4311, allocations: 0.5271 MB / 0.5382 GB, free: 85.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.4311, allocations: 97.33 kB / 0.5383 GB, free: 85.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4311, allocations: 9.875 kB / 0.5383 GB, free: 85.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4313, allocations: 8.391 kB / 0.5383 GB, free: 85.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.4313, allocations: 13.81 kB / 0.5383 GB, free: 85.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.4313, allocations: 10.38 kB / 0.5383 GB, free: 85.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.4314, allocations: 90.94 kB / 0.5384 GB, free: 85.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4314, allocations: 1.312 kB / 0.5384 GB, free: 85.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002257/0.4336, allocations: 0.9479 MB / 0.5393 GB, free: 85.13 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.004654/0.4383, allocations: 2.428 MB / 0.5417 GB, free: 84.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.4388, allocations: 224.4 kB / 0.5419 GB, free: 83.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4388, allocations: 3.312 kB / 0.5419 GB, free: 83.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.439, allocations: 102.3 kB / 0.542 GB, free: 83.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4401, allocations: 145.5 kB / 0.5421 GB, free: 83.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.4438, allocations: 2.442 MB / 0.5445 GB, free: 82.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4441, allocations: 0.7396 MB / 0.5452 GB, free: 81.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.4443, allocations: 45.41 kB / 0.5453 GB, free: 81.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4444, allocations: 60.58 kB / 0.5453 GB, free: 81.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4444, allocations: 4.594 kB / 0.5453 GB, free: 81.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.5077, allocations: 30.7 MB / 0.5753 GB, free: 56.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.297/9.804, allocations: 7.922 kB / 0.5753 GB, free: 56.96 MB / 414.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.59034594707191] Failed to read output from testmodel.py, exit status != 0: 9.89355482114479 9.904387284 9.737597085 Calling exit ...