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.001485/0.001485, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001919/0.001919, allocations: 215.1 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.424/1.424, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.05175/0.05175, allocations: 9.128 MB / 321.6 MB, free: 10.46 MB / 254.1 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: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.88 kB / 447.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09717, allocations: 54.94 MB / 0.4903 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01979/0.117, allocations: 17.56 MB / 0.5074 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2272/0.3442, allocations: 16.95 MB / 0.524 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.3442, allocations: 5.75 kB / 0.524 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.3449, allocations: 303.1 kB / 0.5243 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.3593, allocations: 6.52 MB / 0.5306 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3608, allocations: 0.6046 MB / 0.5312 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.3611, allocations: 204.6 kB / 0.5314 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.3611, allocations: 5.312 kB / 0.5314 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3612, allocations: 92.92 kB / 0.5315 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3613, allocations: 57.8 kB / 0.5316 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3614, allocations: 4.125 kB / 0.5316 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01715/0.3785, allocations: 10.43 MB / 0.5418 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.3785, allocations: 10.23 kB / 0.5418 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3786, allocations: 48.34 kB / 0.5418 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3899, allocations: 4.045 MB / 0.5458 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3899, allocations: 4 kB / 0.5458 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3899, allocations: 0 / 0.5458 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3899, allocations: 0 / 0.5458 GB, free: 2 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.002029/0.3919, allocations: 0.8542 MB / 0.5466 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.392, allocations: 8.25 kB / 0.5466 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.3922, allocations: 32.56 kB / 0.5467 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3923, allocations: 146.2 kB / 0.5468 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3923, allocations: 2.75 kB / 0.5468 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3924, allocations: 8.125 kB / 0.5468 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3926, allocations: 128.8 kB / 0.5469 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3926, allocations: 1.375 kB / 0.5469 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3926, allocations: 7.938 kB / 0.5469 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3926, allocations: 8.094 kB / 0.5469 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3927, allocations: 101.5 kB / 0.547 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.3933, allocations: 0.5463 MB / 0.5476 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3935, allocations: 115.8 kB / 0.5477 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.3936, allocations: 63.89 kB / 0.5477 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05239/0.4459, allocations: 10.89 MB / 0.5584 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.446, allocations: 31.08 kB / 0.5584 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.446, allocations: 3.938 kB / 0.5584 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006798/0.4467, allocations: 231.2 kB / 0.5586 GB, free: 9.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.4467, allocations: 81.05 kB / 0.5587 GB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4468, allocations: 125.8 kB / 0.5588 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.4469, allocations: 29.27 kB / 0.5589 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4469, allocations: 96.34 kB / 0.5589 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.447, allocations: 79.27 kB / 0.559 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.4471, allocations: 37.7 kB / 0.5591 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4472, allocations: 322.8 kB / 0.5594 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.4473, allocations: 47.97 kB / 0.5594 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.4474, allocations: 65.73 kB / 0.5595 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4476, allocations: 116.1 kB / 0.5596 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4476, allocations: 0 / 0.5596 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002725/0.4478, allocations: 169.5 kB / 0.5597 GB, free: 8.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4478, allocations: 8 kB / 0.5598 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4479, allocations: 0 / 0.5598 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4479, allocations: 0 / 0.5598 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.448, allocations: 23.92 kB / 0.5598 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.448, allocations: 4 kB / 0.5598 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.4481, allocations: 12.45 kB / 0.5598 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.4481, allocations: 8 kB / 0.5598 GB, free: 8.625 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.0001033/0.4482, allocations: 117.8 kB / 0.5599 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.4482, allocations: 15.91 kB / 0.5599 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.4488, allocations: 323.3 kB / 0.5602 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003413/0.4491, allocations: 244.9 kB / 0.5605 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4491, allocations: 4 kB / 0.5605 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4491, allocations: 7.938 kB / 0.5605 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4502, allocations: 0.7335 MB / 0.5612 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4502, allocations: 0 / 0.5612 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4504, allocations: 39.98 kB / 0.5612 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.4504, allocations: 4.078 kB / 0.5612 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4504, allocations: 4 kB / 0.5612 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4504, allocations: 0 / 0.5612 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4504, allocations: 11.94 kB / 0.5613 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.451, allocations: 0.5344 MB / 0.5618 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.4511, allocations: 15.88 kB / 0.5618 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.4511, allocations: 8 kB / 0.5618 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4512, allocations: 4 kB / 0.5618 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.4513, allocations: 15.97 kB / 0.5618 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4513, allocations: 16.05 kB / 0.5618 GB, free: 6.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.4514, allocations: 91.28 kB / 0.5619 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4514, allocations: 0 / 0.5619 GB, free: 6.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003031/0.4544, allocations: 0.9501 MB / 0.5628 GB, free: 5.434 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.00534/0.4597, allocations: 1.441 MB / 0.5643 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.4602, allocations: 235.8 kB / 0.5645 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4602, allocations: 4 kB / 0.5645 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4604, allocations: 103.8 kB / 0.5646 GB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4614, allocations: 145.4 kB / 0.5647 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4625, allocations: 492.5 kB / 0.5652 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4629, allocations: 0.7367 MB / 0.5659 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.463, allocations: 45.97 kB / 0.566 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.4631, allocations: 27.44 kB / 0.566 GB, free: 2.312 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4631, allocations: 3.938 kB / 0.566 GB, free: 2.309 MB / 398.1 MB Notification: Performance of Templates: time 0.04768/0.5108, allocations: 28.22 MB / 0.5935 GB, free: 6.164 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.663198090158403] Failed to read output from testmodel.py, exit status != 0: 0.518604023847729 0.534587084 0.14143808699999993 Calling exit ...