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.001246/0.001246, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001329/0.001329, allocations: 164.8 kB / 22.46 MB, free: 5.375 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.377/1.377, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.04864/0.04864, allocations: 7.53 MB / 266.7 MB, free: 9.641 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 1.613e-06/1.613e-06, allocations: 3.938 kB / 392.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.132e-05, allocations: 6.219 kB / 392.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01897/0.01899, allocations: 15.84 MB / 408.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.03469, allocations: 14.97 MB / 423.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.03474, allocations: 0 / 423.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.03536, allocations: 247.2 kB / 423.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.04926, allocations: 6.693 MB / 430 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.05054, allocations: 0.6336 MB / 430.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.05075, allocations: 210.8 kB / 430.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.0508, allocations: 5.312 kB / 430.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.05099, allocations: 135.6 kB / 431 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.05109, allocations: 43.91 kB / 431 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.05111, allocations: 4 kB / 431 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.064, allocations: 7.499 MB / 438.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.06402, allocations: 23.84 kB / 438.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.0641, allocations: 35.94 kB / 438.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008301/0.0724, allocations: 4.115 MB / 442.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.0724, allocations: 0 / 442.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0724, allocations: 3.938 kB / 442.7 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.07241, allocations: 3.938 kB / 442.7 MB, free: 7.75 MB / 366.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.001596/0.07401, allocations: 0.8446 MB / 443.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.07405, allocations: 8.625 kB / 443.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.07422, allocations: 31.83 kB / 443.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.07443, allocations: 137.1 kB / 443.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.07443, allocations: 4 kB / 443.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.07446, allocations: 11.94 kB / 443.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.07467, allocations: 135.4 kB / 443.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.07468, allocations: 0 / 443.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.0747, allocations: 8 kB / 443.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.07471, allocations: 3.984 kB / 443.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.07484, allocations: 99.95 kB / 444 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.07546, allocations: 428.3 kB / 444.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.0757, allocations: 109.2 kB / 444.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.0758, allocations: 69.7 kB / 444.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.189/0.2648, allocations: 10.92 MB / 455.5 MB, free: 68.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2648, allocations: 36.83 kB / 455.5 MB, free: 68.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.2648, allocations: 2.094 kB / 455.5 MB, free: 68.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006195/0.2655, allocations: 226 kB / 455.8 MB, free: 67.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2655, allocations: 83.02 kB / 455.8 MB, free: 67.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.2656, allocations: 120.8 kB / 456 MB, free: 67.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2656, allocations: 26.55 kB / 456 MB, free: 67.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.2656, allocations: 89.7 kB / 456.1 MB, free: 67.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.2657, allocations: 89.16 kB / 456.2 MB, free: 67.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.2657, allocations: 37.12 kB / 456.2 MB, free: 67.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.2658, allocations: 322 kB / 456.5 MB, free: 67.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.2658, allocations: 43.98 kB / 456.5 MB, free: 67.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.2659, allocations: 66.17 kB / 456.6 MB, free: 67.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2661, allocations: 131.5 kB / 456.7 MB, free: 67.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2661, allocations: 3.562 kB / 456.7 MB, free: 67.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002263/0.2663, allocations: 165.7 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2663, allocations: 5.375 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2663, allocations: 2.812 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2663, allocations: 1.375 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.2664, allocations: 23.3 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2664, allocations: 1.656 kB / 456.9 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.2665, allocations: 15.2 kB / 457 MB, free: 67.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2665, allocations: 4.531 kB / 457 MB, free: 67.01 MB / 366.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 6.376e-05/0.2666, allocations: 121 kB / 457.1 MB, free: 66.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2666, allocations: 9.953 kB / 457.1 MB, free: 66.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.267, allocations: 315.4 kB / 457.4 MB, free: 66.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002515/0.2673, allocations: 249.2 kB / 457.6 MB, free: 66.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2673, allocations: 0 / 457.6 MB, free: 66.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2673, allocations: 1.125 kB / 457.6 MB, free: 66.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007398/0.268, allocations: 0.6799 MB / 458.3 MB, free: 66.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.268, allocations: 1.062 kB / 458.3 MB, free: 66.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2682, allocations: 41.53 kB / 458.4 MB, free: 66.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2682, allocations: 1.562 kB / 458.4 MB, free: 66.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2682, allocations: 6.719 kB / 458.4 MB, free: 66.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2682, allocations: 1.625 kB / 458.4 MB, free: 66.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2682, allocations: 4.438 kB / 458.4 MB, free: 66.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.2688, allocations: 0.5336 MB / 458.9 MB, free: 65.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2689, allocations: 20.56 kB / 458.9 MB, free: 65.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2689, allocations: 8.531 kB / 458.9 MB, free: 65.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.269, allocations: 10.22 kB / 458.9 MB, free: 65.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.2691, allocations: 14.5 kB / 459 MB, free: 65.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.2691, allocations: 9.344 kB / 459 MB, free: 65.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.2691, allocations: 93.08 kB / 459.1 MB, free: 65.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 459.1 MB, free: 65.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002237/0.2714, allocations: 0.9419 MB / 460 MB, free: 65.66 MB / 366.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.004032/0.2754, allocations: 1.613 MB / 461.6 MB, free: 65.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.2757, allocations: 233.4 kB / 461.8 MB, free: 65.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2757, allocations: 0 / 461.8 MB, free: 65.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2758, allocations: 110.9 kB / 462 MB, free: 65.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.2768, allocations: 150.5 kB / 462.1 MB, free: 65.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2774, allocations: 428.8 kB / 462.5 MB, free: 64.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.2775, allocations: 124.2 kB / 462.6 MB, free: 64.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.2776, allocations: 48.02 kB / 462.7 MB, free: 64.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.2777, allocations: 27.5 kB / 462.7 MB, free: 64.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2777, allocations: 0 / 462.7 MB, free: 64.66 MB / 366.1 MB Notification: Performance of Templates: time 0.03001/0.3077, allocations: 28.4 MB / 491.1 MB, free: 37.41 MB / 366.1 MB " [Timeout remaining time 660] 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: 8.78436878323555] Failed to read output from testmodel.py, exit status != 0: 0.3152695596218109 0.32344272300000004 0.248889628 Calling exit ...