Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.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.001967/0.001967, allocations: 101.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.002089/0.002089, allocations: 216.9 kB / 22.25 MB, free: 3.586 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.78/1.78, allocations: 230.6 MB / 256 MB, free: 9.613 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.391/1.391, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam") [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.003801/0.003801, allocations: 77.69 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1884, allocations: 73.99 MB / 0.8473 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam): time 0.004454/0.1929, allocations: 2.311 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.5672, allocations: 6.517 MB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.5675, allocations: 3.844 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.5677, allocations: 27.44 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.568, allocations: 82.8 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.5683, allocations: 56.91 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.5686, allocations: 255 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.5688, allocations: 33.83 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.5689, allocations: 103.6 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.5691, allocations: 101 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.5692, allocations: 17.81 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.236e-05/0.5692, allocations: 16.91 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.5692, allocations: 35.5 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.5694, allocations: 95.05 kB / 0.8567 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.5696, allocations: 193.2 kB / 0.8569 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5696, allocations: 3.281 kB / 0.8569 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5696, allocations: 0 / 0.8569 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5696, allocations: 4.656 kB / 0.8569 GB, free: 21.8 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.0008426/0.5705, allocations: 495.4 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5705, allocations: 10.09 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.5706, allocations: 25.61 kB / 0.8574 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.5708, allocations: 188.4 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5708, allocations: 9.766 kB / 0.8576 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.5708, allocations: 21.23 kB / 0.8576 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.5712, allocations: 191.9 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5712, allocations: 2.75 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.5712, allocations: 4.875 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5712, allocations: 3.375 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.5716, allocations: 147 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.5724, allocations: 483.1 kB / 0.8584 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.5729, allocations: 175.4 kB / 0.8585 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.5731, allocations: 98.11 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5731, allocations: 2.594 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.5735, allocations: 223.1 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.5735, allocations: 0.5938 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001522/0.575, allocations: 0.7016 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.5751, allocations: 137.9 kB / 0.8597 GB, free: 20.06 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5753, allocations: 216.1 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5753, allocations: 33.17 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.5754, allocations: 137.7 kB / 0.86 GB, free: 19.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.5755, allocations: 68.31 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.5756, allocations: 57.94 kB / 0.8602 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.5757, allocations: 336.7 kB / 0.8605 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.5759, allocations: 142.7 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.5762, allocations: 226.6 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.5766, allocations: 284.3 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5766, allocations: 2.562 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006256/0.5772, allocations: 388.2 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.5773, allocations: 59.59 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5773, allocations: 6.125 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.5773, allocations: 3.875 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.5775, allocations: 56.42 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5775, allocations: 2.375 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.5777, allocations: 20.34 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.5777, allocations: 18.09 kB / 0.8616 GB, free: 18.79 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.0002071/0.578, allocations: 176.1 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.578, allocations: 23.89 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.578, allocations: 33.02 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.5781, allocations: 1.25 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5781, allocations: 3.438 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5781, allocations: 2.672 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.5787, allocations: 0.5343 MB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5787, allocations: 3.938 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.5789, allocations: 43.3 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5789, allocations: 0.5938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.5789, allocations: 5.547 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5789, allocations: 3.938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5789, allocations: 1.281 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.5797, allocations: 498.4 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.5797, allocations: 23.03 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.5798, allocations: 8.469 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.5799, allocations: 19.2 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.58, allocations: 20.88 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.58, allocations: 11.12 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001204/0.5802, allocations: 160.3 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5802, allocations: 0.7812 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002973/0.5805, allocations: 51.69 kB / 0.8632 GB, free: 17.96 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.0001317/0.5806, allocations: 118.8 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.5812, allocations: 384.3 kB / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5812, allocations: 1.5 kB / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.5814, allocations: 172 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.5819, allocations: 73.02 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5835, allocations: 0.6775 MB / 0.8646 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.5836, allocations: 127.3 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.5837, allocations: 23.3 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.5838, allocations: 26.77 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of SimCode: time 9.42e-07/0.5838, allocations: 0 / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of Templates: time 0.008871/0.5927, allocations: 3.635 MB / 0.8683 GB, free: 16.8 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.630289633059874]