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.001186/0.001186, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001326/0.001326, allocations: 223.2 kB / 23.05 MB, free: 5.074 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.318/1.318, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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.04904/0.04904, allocations: 9.149 MB / 295.2 MB, free: 12.71 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="cs",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.002037/0.002037, allocations: 71.66 kB / 411.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06821/0.07025, allocations: 50.76 MB / 462.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01947/0.08972, allocations: 17.51 MB / 480.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1062, allocations: 16.96 MB / 497.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.1063, allocations: 0 / 497.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.107, allocations: 319.1 kB / 497.4 MB, free: 9.789 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.01489/0.1219, allocations: 6.519 MB / 0.4921 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1233, allocations: 0.6104 MB / 0.4927 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1235, allocations: 206.9 kB / 0.4929 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.1236, allocations: 5.312 kB / 0.4929 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1237, allocations: 91.62 kB / 0.493 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1238, allocations: 55.78 kB / 0.4931 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1238, allocations: 4 kB / 0.4931 GB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01708/0.1409, allocations: 10.42 MB / 0.5032 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1409, allocations: 3.938 kB / 0.5033 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.141, allocations: 59.72 kB / 0.5033 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.1493, allocations: 4.049 MB / 0.5073 GB, free: 3.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1493, allocations: 0 / 0.5073 GB, free: 3.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1493, allocations: 0 / 0.5073 GB, free: 3.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1494, allocations: 4 kB / 0.5073 GB, free: 3.727 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.001595/0.151, allocations: 0.8408 MB / 0.5081 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.151, allocations: 11.98 kB / 0.5081 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.185e-05/0.151, allocations: 0 / 0.5081 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.151, allocations: 50.48 kB / 0.5081 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1512, allocations: 27.89 kB / 0.5082 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1514, allocations: 148.9 kB / 0.5083 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1514, allocations: 7.984 kB / 0.5083 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1514, allocations: 8 kB / 0.5083 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1516, allocations: 144.8 kB / 0.5085 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1516, allocations: 0 / 0.5085 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1516, allocations: 7.875 kB / 0.5085 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1517, allocations: 4 kB / 0.5085 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1518, allocations: 99.95 kB / 0.5086 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.1524, allocations: 0.5455 MB / 0.5091 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1527, allocations: 113.1 kB / 0.5092 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.1527, allocations: 65.75 kB / 0.5093 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04793/0.2007, allocations: 10.88 MB / 0.5199 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.2007, allocations: 34.56 kB / 0.5199 GB, free: 6.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.2007, allocations: 0 / 0.5199 GB, free: 6.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000632/0.2013, allocations: 229.4 kB / 0.5202 GB, free: 6.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2014, allocations: 81.11 kB / 0.5202 GB, free: 6.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2015, allocations: 117.8 kB / 0.5203 GB, free: 6.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2015, allocations: 29.7 kB / 0.5204 GB, free: 6.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.2016, allocations: 84.53 kB / 0.5205 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.2017, allocations: 91.25 kB / 0.5205 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.2017, allocations: 33.7 kB / 0.5206 GB, free: 5.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2019, allocations: 330.8 kB / 0.5209 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.2019, allocations: 39.98 kB / 0.5209 GB, free: 5.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.031e-05/0.202, allocations: 73.69 kB / 0.521 GB, free: 5.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.2022, allocations: 121.6 kB / 0.5211 GB, free: 5.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2022, allocations: 0 / 0.5211 GB, free: 5.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002528/0.2024, allocations: 169.3 kB / 0.5213 GB, free: 5.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2025, allocations: 4 kB / 0.5213 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2025, allocations: 4 kB / 0.5213 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2025, allocations: 0 / 0.5213 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.2026, allocations: 20 kB / 0.5213 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2026, allocations: 4 kB / 0.5213 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.2026, allocations: 15.83 kB / 0.5213 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2027, allocations: 7.984 kB / 0.5213 GB, free: 5.043 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 9.715e-05/0.2028, allocations: 125.9 kB / 0.5215 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.2028, allocations: 7.953 kB / 0.5215 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.2033, allocations: 326 kB / 0.5218 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002946/0.2036, allocations: 241.5 kB / 0.522 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2036, allocations: 0 / 0.522 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2036, allocations: 7.922 kB / 0.522 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/0.2045, allocations: 0.726 MB / 0.5227 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2045, allocations: 3.984 kB / 0.5227 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2047, allocations: 43.92 kB / 0.5228 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2047, allocations: 0 / 0.5228 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2047, allocations: 16.12 kB / 0.5228 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2047, allocations: 0 / 0.5228 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2047, allocations: 0 / 0.5228 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.2053, allocations: 0.5417 MB / 0.5233 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2053, allocations: 15.84 kB / 0.5233 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2054, allocations: 8 kB / 0.5233 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2055, allocations: 0 / 0.5233 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.2055, allocations: 27.97 kB / 0.5234 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2055, allocations: 4 kB / 0.5234 GB, free: 2.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.448e-05/0.2056, allocations: 95.27 kB / 0.5235 GB, free: 2.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2056, allocations: 4.281 kB / 0.5235 GB, free: 2.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002374/0.208, allocations: 0.9384 MB / 0.5244 GB, free: 1.848 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.1681/0.376, allocations: 2.397 MB / 0.5267 GB, free: 70.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.3764, allocations: 236 kB / 0.5269 GB, free: 70.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3764, allocations: 4.625 kB / 0.5269 GB, free: 70.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3765, allocations: 101.1 kB / 0.527 GB, free: 70.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.3775, allocations: 145.3 kB / 0.5272 GB, free: 70.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.3803, allocations: 2.442 MB / 0.5296 GB, free: 69.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3804, allocations: 0.7366 MB / 0.5303 GB, free: 68.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3805, allocations: 45.2 kB / 0.5303 GB, free: 68.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.3806, allocations: 65.11 kB / 0.5304 GB, free: 68.42 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3806, allocations: 0 / 0.5304 GB, free: 68.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.4409, allocations: 31.13 MB / 0.5608 GB, free: 48.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 11.23 kB / 0.5608 GB, free: 48.19 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.729059594101273] Failed to read output from testmodel.py, exit status != 0: 12.094050980987959 12.104119305 11.952575483 Calling exit ...