Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.001804/0.001804, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001729/0.001729, allocations: 215.5 kB / 22.29 MB, free: 5.301 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.477/1.477, allocations: 230.6 MB / 256.1 MB, free: 7.723 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.05332/0.05332, allocations: 9.14 MB / 321.6 MB, free: 10.14 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.91 kB / 447.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 54.95 MB / 0.4903 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02199/0.1484, allocations: 15.85 MB / 0.5058 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3034/0.4517, allocations: 14.97 MB / 0.5204 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4518, allocations: 2.094 kB / 0.5204 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.4526, allocations: 237.6 kB / 0.5206 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.4723, allocations: 6.614 MB / 0.5271 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4745, allocations: 0.6091 MB / 0.5277 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.4749, allocations: 202.9 kB / 0.5279 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.916e-05/0.4749, allocations: 8.422 kB / 0.5279 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.4751, allocations: 96.41 kB / 0.528 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4753, allocations: 55.3 kB / 0.528 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4753, allocations: 2.219 kB / 0.528 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.4951, allocations: 7.451 MB / 0.5353 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.4951, allocations: 19.95 kB / 0.5353 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.4953, allocations: 45.19 kB / 0.5354 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.5109, allocations: 3.509 MB / 0.5388 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5109, allocations: 1.094 kB / 0.5388 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5109, allocations: 7.562 kB / 0.5388 GB, free: 5.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.511, allocations: 0 / 0.5388 GB, free: 5.133 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.003126/0.5141, allocations: 0.8499 MB / 0.5396 GB, free: 4.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5141, allocations: 9 kB / 0.5397 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.5144, allocations: 20.5 kB / 0.5397 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.5146, allocations: 149 kB / 0.5398 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.5146, allocations: 3.781 kB / 0.5398 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5146, allocations: 8.047 kB / 0.5398 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.5149, allocations: 125.7 kB / 0.5399 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5149, allocations: 4 kB / 0.54 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5149, allocations: 3.5 kB / 0.54 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.5149, allocations: 6.266 kB / 0.54 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.5151, allocations: 111.2 kB / 0.5401 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.5156, allocations: 417.9 kB / 0.5405 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.5159, allocations: 110.8 kB / 0.5406 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.516, allocations: 62.02 kB / 0.5406 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04942/0.5654, allocations: 10.92 MB / 0.5513 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.5655, allocations: 42.44 kB / 0.5513 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/0.5655, allocations: 0 / 0.5513 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000742/0.5662, allocations: 230.5 kB / 0.5516 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5663, allocations: 89.05 kB / 0.5516 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5664, allocations: 113.8 kB / 0.5517 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.5664, allocations: 25.7 kB / 0.5518 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.5665, allocations: 92.62 kB / 0.5519 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.5666, allocations: 81.16 kB / 0.5519 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.5667, allocations: 37.7 kB / 0.552 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5668, allocations: 318.8 kB / 0.5523 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.5669, allocations: 51.92 kB / 0.5523 GB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.567, allocations: 61.69 kB / 0.5524 GB, free: 14.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.5672, allocations: 134 kB / 0.5525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5672, allocations: 3.938 kB / 0.5525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002725/0.5675, allocations: 167.5 kB / 0.5527 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5675, allocations: 4 kB / 0.5527 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5675, allocations: 0 / 0.5527 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5675, allocations: 4 kB / 0.5527 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.5676, allocations: 23.92 kB / 0.5527 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.5677, allocations: 1.25 kB / 0.5527 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.5678, allocations: 15.89 kB / 0.5527 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.5678, allocations: 4 kB / 0.5527 GB, free: 14.14 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.0001063/0.5679, allocations: 113.8 kB / 0.5528 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.5679, allocations: 20.47 kB / 0.5529 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.5685, allocations: 326 kB / 0.5532 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003154/0.5688, allocations: 241.4 kB / 0.5534 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5688, allocations: 3.984 kB / 0.5534 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5688, allocations: 1.031 kB / 0.5534 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.5698, allocations: 0.6783 MB / 0.5541 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5698, allocations: 2.75 kB / 0.5541 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.57, allocations: 43.98 kB / 0.5541 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.57, allocations: 0 / 0.5541 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.57, allocations: 11.94 kB / 0.5541 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.57, allocations: 0 / 0.5541 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.57, allocations: 3.938 kB / 0.5541 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.5707, allocations: 0.529 MB / 0.5546 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.5708, allocations: 24.38 kB / 0.5547 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.5708, allocations: 7.938 kB / 0.5547 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.5709, allocations: 7.75 kB / 0.5547 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.571, allocations: 19.97 kB / 0.5547 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.571, allocations: 4 kB / 0.5547 GB, free: 12.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.874e-05/0.571, allocations: 103.3 kB / 0.5548 GB, free: 11.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.571, allocations: 0 / 0.5548 GB, free: 11.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003707/0.5747, allocations: 0.9385 MB / 0.5557 GB, free: 11.02 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.006247/0.581, allocations: 1.482 MB / 0.5572 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.5815, allocations: 249.4 kB / 0.5574 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.5815, allocations: 4 kB / 0.5574 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.5817, allocations: 107.8 kB / 0.5575 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5828, allocations: 143.8 kB / 0.5576 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5838, allocations: 491.7 kB / 0.5581 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.5839, allocations: 129 kB / 0.5582 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.5841, allocations: 42.27 kB / 0.5583 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.5842, allocations: 28.5 kB / 0.5583 GB, free: 8.477 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5842, allocations: 0 / 0.5583 GB, free: 8.477 MB / 398.1 MB Notification: Performance of Templates: time 0.05094/0.6351, allocations: 28.29 MB / 0.5859 GB, free: 12.38 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.013245329260826] Failed to read output from testmodel.py, exit status != 0: 0.6437344746664166 0.6609768859999999 0.146554113 Calling exit ...