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.001512/0.001512, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001704/0.001704, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.515/1.515, allocations: 207.6 MB / 233 MB, free: 9.977 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.05408/0.05408, allocations: 9.15 MB / 294.4 MB, free: 12.68 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.002209/0.002209, allocations: 72.17 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08766, allocations: 50.76 MB / 461.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02441/0.1121, allocations: 17.53 MB / 479.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.1311, allocations: 16.95 MB / 496.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1312, allocations: 0 / 496.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.1321, allocations: 319.1 kB / 496.6 MB, free: 9.773 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.01847/0.1506, allocations: 6.522 MB / 0.4914 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1523, allocations: 0.6143 MB / 0.492 GB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.1525, allocations: 199 kB / 0.4922 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.1526, allocations: 5.312 kB / 0.4922 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1527, allocations: 95.62 kB / 0.4923 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1529, allocations: 55.72 kB / 0.4923 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1529, allocations: 4 kB / 0.4923 GB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/0.1737, allocations: 10.41 MB / 0.5025 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.1737, allocations: 15.92 kB / 0.5025 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1739, allocations: 59.72 kB / 0.5025 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.1873, allocations: 4.045 MB / 0.5065 GB, free: 3.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1873, allocations: 0 / 0.5065 GB, free: 3.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1873, allocations: 0 / 0.5065 GB, free: 3.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1873, allocations: 0 / 0.5065 GB, free: 3.711 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.002223/0.1895, allocations: 0.8447 MB / 0.5073 GB, free: 2.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1896, allocations: 15.92 kB / 0.5073 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.1896, allocations: 42.55 kB / 0.5074 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.1898, allocations: 27.83 kB / 0.5074 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.19, allocations: 141 kB / 0.5075 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1901, allocations: 4 kB / 0.5075 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1901, allocations: 15.88 kB / 0.5076 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1903, allocations: 128.9 kB / 0.5077 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1903, allocations: 8 kB / 0.5077 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1903, allocations: 7.938 kB / 0.5077 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1903, allocations: 0 / 0.5077 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1905, allocations: 99.95 kB / 0.5078 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.1913, allocations: 0.5494 MB / 0.5083 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1915, allocations: 113.1 kB / 0.5084 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1916, allocations: 77.67 kB / 0.5085 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05255/0.2442, allocations: 10.87 MB / 0.5191 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.2443, allocations: 34.56 kB / 0.5192 GB, free: 6.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.2443, allocations: 0 / 0.5192 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007348/0.245, allocations: 229.4 kB / 0.5194 GB, free: 6.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.2451, allocations: 81.11 kB / 0.5195 GB, free: 6.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2452, allocations: 121.8 kB / 0.5196 GB, free: 6.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2452, allocations: 29.7 kB / 0.5196 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.2453, allocations: 88.53 kB / 0.5197 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.2454, allocations: 83.25 kB / 0.5198 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.2454, allocations: 41.7 kB / 0.5198 GB, free: 5.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2456, allocations: 322.8 kB / 0.5201 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.2457, allocations: 47.98 kB / 0.5202 GB, free: 5.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.2458, allocations: 65.62 kB / 0.5202 GB, free: 5.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.246, allocations: 123.8 kB / 0.5203 GB, free: 5.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.246, allocations: 0 / 0.5203 GB, free: 5.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002611/0.2462, allocations: 173.6 kB / 0.5205 GB, free: 5.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2463, allocations: 10.33 kB / 0.5205 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2463, allocations: 0 / 0.5205 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2463, allocations: 4 kB / 0.5205 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2464, allocations: 16 kB / 0.5205 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2464, allocations: 0 / 0.5205 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.2465, allocations: 15.89 kB / 0.5206 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2465, allocations: 8 kB / 0.5206 GB, free: 5.031 MB / 398.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 0.0001158/0.2466, allocations: 125.9 kB / 0.5207 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2466, allocations: 11.89 kB / 0.5207 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.2473, allocations: 317.5 kB / 0.521 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003175/0.2476, allocations: 245.4 kB / 0.5212 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.2476, allocations: 0 / 0.5212 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2476, allocations: 4 kB / 0.5212 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2486, allocations: 0.734 MB / 0.5219 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2486, allocations: 4 kB / 0.522 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.2488, allocations: 35.92 kB / 0.522 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2488, allocations: 4 kB / 0.522 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2488, allocations: 4 kB / 0.522 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2488, allocations: 4 kB / 0.522 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2488, allocations: 4 kB / 0.522 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.2494, allocations: 0.5378 MB / 0.5225 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2495, allocations: 23.86 kB / 0.5225 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2495, allocations: 4 kB / 0.5226 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2496, allocations: 8 kB / 0.5226 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.2497, allocations: 11.97 kB / 0.5226 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2497, allocations: 16.06 kB / 0.5226 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.2498, allocations: 91.27 kB / 0.5227 GB, free: 2.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 0.5227 GB, free: 2.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002888/0.2526, allocations: 0.9423 MB / 0.5236 GB, free: 1.84 MB / 398.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.2131/0.4658, allocations: 2.406 MB / 0.5259 GB, free: 71.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.4664, allocations: 228.6 kB / 0.5262 GB, free: 70.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4664, allocations: 1.094 kB / 0.5262 GB, free: 70.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.4667, allocations: 103.9 kB / 0.5263 GB, free: 70.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.4683, allocations: 148.3 kB / 0.5264 GB, free: 70.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.4733, allocations: 2.445 MB / 0.5288 GB, free: 69.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.4735, allocations: 0.7352 MB / 0.5295 GB, free: 68.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.4738, allocations: 43.08 kB / 0.5296 GB, free: 68.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4739, allocations: 63.97 kB / 0.5296 GB, free: 68.95 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4739, allocations: 0 / 0.5296 GB, free: 68.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07734/0.5513, allocations: 31.1 MB / 0.56 GB, free: 48.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.04, allocations: 8.062 kB / 0.56 GB, free: 48.68 MB / 398.1 MB " [Timeout remaining time 647] (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: 17.15253941199626] Failed to read output from testmodel.py, exit status != 0: 13.162040374001663 13.18024954 12.989236915 Calling exit ...