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.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.001799/0.001799, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001979/0.001979, allocations: 186 kB / 20.78 MB, free: 1.547 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.514/1.514, allocations: 207.6 MB / 231.4 MB, free: 3.168 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.05362/0.05362, allocations: 9.155 MB / 292.6 MB, free: 6.059 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.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: 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.002195/0.002195, allocations: 78.39 kB / 409.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3151, allocations: 50.71 MB / 459.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02301/0.3381, allocations: 17.51 MB / 477.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.3589, allocations: 16.95 MB / 494.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3591, allocations: 7.938 kB / 494.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3601, allocations: 323.1 kB / 494.7 MB, free: 4.359 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.02229/0.3824, allocations: 6.455 MB / 0.4894 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.3843, allocations: 0.6181 MB / 0.49 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.3846, allocations: 202.9 kB / 0.4902 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.3847, allocations: 5.125 kB / 0.4902 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3848, allocations: 83.66 kB / 0.4903 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.385, allocations: 63.69 kB / 0.4903 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.385, allocations: 8 kB / 0.4903 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02258/0.4076, allocations: 10.09 MB / 0.5002 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.4076, allocations: 15.92 kB / 0.5002 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.4078, allocations: 59.72 kB / 0.5002 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.4225, allocations: 4.021 MB / 0.5042 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4225, allocations: 0 / 0.5042 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4225, allocations: 0 / 0.5042 GB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4225, allocations: 0 / 0.5042 GB, free: 14.7 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.002179/0.4247, allocations: 0.9239 MB / 0.5051 GB, free: 13.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4247, allocations: 11.97 kB / 0.5051 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.4249, allocations: 31.83 kB / 0.5051 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.4252, allocations: 194.9 kB / 0.5053 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4252, allocations: 8 kB / 0.5053 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.4253, allocations: 4 kB / 0.5053 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.4255, allocations: 139.3 kB / 0.5054 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4255, allocations: 0 / 0.5054 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4256, allocations: 4 kB / 0.5054 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4256, allocations: 11.92 kB / 0.5055 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.4257, allocations: 91.97 kB / 0.5055 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.4266, allocations: 0.5699 MB / 0.5061 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.4269, allocations: 109.2 kB / 0.5062 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.427, allocations: 73.64 kB / 0.5063 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06809/0.4951, allocations: 33.17 MB / 0.5387 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.4951, allocations: 30.56 kB / 0.5387 GB, free: 5.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.715e-06/0.4951, allocations: 0 / 0.5387 GB, free: 5.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007755/0.4959, allocations: 234 kB / 0.5389 GB, free: 5.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.496, allocations: 77.11 kB / 0.539 GB, free: 5.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.4961, allocations: 125.8 kB / 0.5391 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4961, allocations: 25.7 kB / 0.5391 GB, free: 5.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.4962, allocations: 92.53 kB / 0.5392 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.4963, allocations: 87.25 kB / 0.5393 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.4964, allocations: 34.08 kB / 0.5393 GB, free: 4.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4965, allocations: 326.8 kB / 0.5397 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.4966, allocations: 43.98 kB / 0.5397 GB, free: 4.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.4967, allocations: 65.7 kB / 0.5398 GB, free: 4.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4969, allocations: 125.6 kB / 0.5399 GB, free: 4.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4969, allocations: 0 / 0.5399 GB, free: 4.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002597/0.4972, allocations: 169.6 kB / 0.54 GB, free: 4.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4972, allocations: 8 kB / 0.5401 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4972, allocations: 0 / 0.5401 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4972, allocations: 0 / 0.5401 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.4973, allocations: 19.98 kB / 0.5401 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4973, allocations: 0 / 0.5401 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.4974, allocations: 19.83 kB / 0.5401 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.4974, allocations: 8 kB / 0.5401 GB, free: 4.074 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.0001111/0.4975, allocations: 125.7 kB / 0.5402 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.4976, allocations: 15.94 kB / 0.5402 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.4981, allocations: 309 kB / 0.5405 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003194/0.4984, allocations: 233.5 kB / 0.5407 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4984, allocations: 4 kB / 0.5408 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4984, allocations: 4 kB / 0.5408 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.4995, allocations: 0.7581 MB / 0.5415 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4995, allocations: 128 / 0.5415 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.4996, allocations: 47.92 kB / 0.5415 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4996, allocations: 4 kB / 0.5415 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4997, allocations: 3.984 kB / 0.5416 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4997, allocations: 4 kB / 0.5416 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4997, allocations: 7.938 kB / 0.5416 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.5004, allocations: 0.5301 MB / 0.5421 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.5005, allocations: 92.98 kB / 0.5422 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.5005, allocations: 11.94 kB / 0.5422 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.5006, allocations: 4 kB / 0.5422 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5007, allocations: 19.97 kB / 0.5422 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5007, allocations: 8.062 kB / 0.5422 GB, free: 1.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.5008, allocations: 91.28 kB / 0.5423 GB, free: 1.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5008, allocations: 0 / 0.5423 GB, free: 1.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00277/0.5036, allocations: 0.9501 MB / 0.5432 GB, free: 0.7617 MB / 414.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.004036/0.5076, allocations: 1.426 MB / 0.5446 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.5081, allocations: 227.2 kB / 0.5448 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5081, allocations: 4 kB / 0.5448 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.5083, allocations: 103.9 kB / 0.5449 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5093, allocations: 149 kB / 0.5451 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.5104, allocations: 484.3 kB / 0.5455 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.5108, allocations: 0.7328 MB / 0.5463 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.5109, allocations: 53.77 kB / 0.5463 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.511, allocations: 31.44 kB / 0.5463 GB, free: 13.49 MB / 430.1 MB Notification: Performance of SimCode: time 1.363e-06/0.511, allocations: 0 / 0.5463 GB, free: 13.49 MB / 430.1 MB Notification: Performance of Templates: time 0.04418/0.5552, allocations: 28.12 MB / 0.5738 GB, free: 1.371 MB / 446.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.601241520605981]