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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.48/1.48, allocations: 207.6 MB / 231.4 MB, free: 3.434 MB / 174.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.05149/0.05149, allocations: 9.152 MB / 292.6 MB, free: 6.207 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 71.89 kB / 409.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3212, allocations: 50.71 MB / 459.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02295/0.3441, allocations: 17.53 MB / 477.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.3635, allocations: 16.96 MB / 494.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3636, allocations: 0 / 494.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3647, allocations: 319.1 kB / 494.7 MB, free: 4.348 MB / 350.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.02058/0.3853, allocations: 6.646 MB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.3873, allocations: 0.622 MB / 0.4902 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.3877, allocations: 199 kB / 0.4904 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.3877, allocations: 1.125 kB / 0.4904 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.388, allocations: 99.58 kB / 0.4905 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3881, allocations: 55.77 kB / 0.4905 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3881, allocations: 4 kB / 0.4905 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02219/0.4103, allocations: 10.64 MB / 0.5009 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.4104, allocations: 19.91 kB / 0.5009 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.4105, allocations: 55.67 kB / 0.501 GB, free: 1.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.426, allocations: 4.134 MB / 0.505 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.426, allocations: 0 / 0.505 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.426, allocations: 0 / 0.505 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.426, allocations: 0 / 0.505 GB, free: 13.82 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.002706/0.4287, allocations: 0.9161 MB / 0.5059 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4288, allocations: 19.97 kB / 0.5059 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.429, allocations: 27.83 kB / 0.506 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4292, allocations: 198.9 kB / 0.5062 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4293, allocations: 4 kB / 0.5062 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.4293, allocations: 12 kB / 0.5062 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4295, allocations: 127.3 kB / 0.5063 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4296, allocations: 0 / 0.5063 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4296, allocations: 0 / 0.5063 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4296, allocations: 15.94 kB / 0.5063 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.4297, allocations: 95.94 kB / 0.5064 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.4307, allocations: 0.5737 MB / 0.507 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.4309, allocations: 113.2 kB / 0.5071 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.4311, allocations: 65.7 kB / 0.5071 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06667/0.4977, allocations: 33.17 MB / 0.5395 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4978, allocations: 42.56 kB / 0.5396 GB, free: 4.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/0.4978, allocations: 0 / 0.5396 GB, free: 4.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006783/0.4985, allocations: 226 kB / 0.5398 GB, free: 4.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.4985, allocations: 81.11 kB / 0.5399 GB, free: 4.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4986, allocations: 113.8 kB / 0.54 GB, free: 4.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4987, allocations: 29.7 kB / 0.54 GB, free: 4.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.4987, allocations: 100.5 kB / 0.5401 GB, free: 4.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.4988, allocations: 79.22 kB / 0.5402 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.4989, allocations: 41.7 kB / 0.5402 GB, free: 3.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.499, allocations: 322.8 kB / 0.5405 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.4991, allocations: 43.98 kB / 0.5406 GB, free: 3.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.4992, allocations: 65.69 kB / 0.5406 GB, free: 3.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4994, allocations: 117.8 kB / 0.5407 GB, free: 3.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4994, allocations: 4 kB / 0.5407 GB, free: 3.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002725/0.4997, allocations: 174 kB / 0.5409 GB, free: 3.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4997, allocations: 4 kB / 0.5409 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4997, allocations: 0 / 0.5409 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4997, allocations: 3.938 kB / 0.5409 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.4998, allocations: 27.92 kB / 0.5409 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4998, allocations: 0 / 0.5409 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.4999, allocations: 7.891 kB / 0.5409 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.4999, allocations: 12 kB / 0.541 GB, free: 3.199 MB / 414.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.0001142/0.5, allocations: 121.8 kB / 0.5411 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.5001, allocations: 7.953 kB / 0.5411 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.5006, allocations: 320.8 kB / 0.5414 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000325/0.5009, allocations: 237.5 kB / 0.5416 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5009, allocations: 0 / 0.5416 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5009, allocations: 3.984 kB / 0.5416 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5021, allocations: 0.7697 MB / 0.5424 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5021, allocations: 0 / 0.5424 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.5023, allocations: 39.92 kB / 0.5424 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5023, allocations: 0 / 0.5424 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5023, allocations: 8 kB / 0.5424 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5023, allocations: 0 / 0.5424 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5023, allocations: 0 / 0.5424 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.503, allocations: 0.5301 MB / 0.5429 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.5031, allocations: 101 kB / 0.543 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.5031, allocations: 4 kB / 0.543 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5033, allocations: 4 kB / 0.543 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.5033, allocations: 11.98 kB / 0.543 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5033, allocations: 11.94 kB / 0.5431 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.5034, allocations: 95.27 kB / 0.5431 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5034, allocations: 0 / 0.5431 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003709/0.5071, allocations: 0.9504 MB / 0.5441 GB, free: 15.89 MB / 430.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.005589/0.5127, allocations: 1.477 MB / 0.5455 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.5133, allocations: 227.3 kB / 0.5457 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5133, allocations: 0 / 0.5457 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.5134, allocations: 107.8 kB / 0.5458 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5145, allocations: 153 kB / 0.546 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5155, allocations: 481.3 kB / 0.5464 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.5159, allocations: 0.7367 MB / 0.5472 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.5161, allocations: 41.95 kB / 0.5472 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.5162, allocations: 23.44 kB / 0.5472 GB, free: 12.58 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5162, allocations: 4 kB / 0.5472 GB, free: 12.58 MB / 430.1 MB Notification: Performance of Templates: time 0.05786/0.574, allocations: 28.19 MB / 0.5748 GB, free: 400 kB / 446.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: 9.691934330388904]