Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.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.002103/0.002103, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.0035/0.0035, allocations: 211.6 kB / 22.25 MB, free: 3.57 MB / 13.93 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.546/1.546, allocations: 316.7 MB / 0.6144 GB, free: 93.07 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004014/0.004014, allocations: 77.44 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1605, allocations: 73.99 MB / 0.8472 GB, free: 4.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen): time 0.004545/0.165, allocations: 2.303 MB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3156/0.4806, allocations: 6.526 MB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.4808, allocations: 5.062 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.4809, allocations: 25.22 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.4812, allocations: 80.55 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.4814, allocations: 51.42 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.4816, allocations: 260.7 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4817, allocations: 35.97 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4818, allocations: 100.5 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.482, allocations: 94.8 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.4821, allocations: 17.38 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.4821, allocations: 19.03 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.4821, allocations: 39.88 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.4822, allocations: 90.19 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.4825, allocations: 200.5 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4825, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4825, allocations: 2.75 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.4825, allocations: 1.969 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007967/0.4833, allocations: 499 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4833, allocations: 9.156 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.4834, allocations: 25.61 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4836, allocations: 184.1 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4836, allocations: 10.44 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.4837, allocations: 21.17 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.484, allocations: 191.4 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.484, allocations: 0 / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.484, allocations: 5.562 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.484, allocations: 3.938 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.4844, allocations: 150.1 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.4851, allocations: 480.8 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.4855, allocations: 172 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.4857, allocations: 98.28 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4857, allocations: 4.625 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.486, allocations: 227.9 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.486, allocations: 0.5938 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001287/0.4873, allocations: 0.6981 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4873, allocations: 140.5 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4875, allocations: 219.7 kB / 0.8598 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4875, allocations: 32.55 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.4875, allocations: 129.2 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4876, allocations: 73.89 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.4877, allocations: 53.38 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.4877, allocations: 337.9 kB / 0.8604 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4879, allocations: 143.8 kB / 0.8606 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.4881, allocations: 222.7 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.4885, allocations: 285.9 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4885, allocations: 1.281 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000502/0.489, allocations: 388 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.489, allocations: 65.28 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.489, allocations: 5.938 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.489, allocations: 2.812 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.4893, allocations: 51.44 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4893, allocations: 3.438 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4894, allocations: 31.75 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4895, allocations: 7.469 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001381/0.4896, allocations: 177.9 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.4896, allocations: 24.36 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.4897, allocations: 27.38 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4897, allocations: 2.5 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4897, allocations: 4.531 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4897, allocations: 2.219 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.4903, allocations: 0.5398 MB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4903, allocations: 0.5 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.4905, allocations: 39.3 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4905, allocations: 0 / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4905, allocations: 9.234 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4905, allocations: 9.094 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4905, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.4912, allocations: 497.3 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.4912, allocations: 25.09 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.4913, allocations: 5.125 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4915, allocations: 14.67 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.4915, allocations: 19.95 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4916, allocations: 12.55 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001132/0.4917, allocations: 161.1 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4917, allocations: 1.375 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003108/0.492, allocations: 56.3 kB / 0.8632 GB, free: 17.99 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001024/0.4921, allocations: 109.2 kB / 0.8633 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.4926, allocations: 383.8 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4926, allocations: 1.156 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.4928, allocations: 171.6 kB / 0.8638 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.4933, allocations: 71.28 kB / 0.8639 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4945, allocations: 0.684 MB / 0.8645 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.4946, allocations: 127.8 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.4947, allocations: 21.25 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.4948, allocations: 27.84 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 4.6e-07/0.4948, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.008702/0.5035, allocations: 3.643 MB / 0.8683 GB, free: 16.84 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE09_Flurbiprofen.Flurbiprofen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.84195026406087]