Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.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.0009075/0.0009075, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002162, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009896/0.0009896, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002187, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7371/0.7371, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0313/0.7684, allocations: 21.04 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] 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.J01DD09_Cefodizime.Cefodizime,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.082e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime): time 0.003115/0.003136, allocations: 2.488 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.009053, allocations: 6.696 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.009181, allocations: 3.938 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.99e-05/0.009261, allocations: 23.78 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.00945, allocations: 79.28 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.009631, allocations: 55.84 kB / 0.5536 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.009879, allocations: 270.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.01, allocations: 42.47 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.01023, allocations: 180.1 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.01042, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.01045, allocations: 16 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.01048, allocations: 20 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.01051, allocations: 23.88 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.01059, allocations: 63.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.01079, allocations: 135.5 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.0108, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.0108, allocations: 4 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.01082, allocations: 4 kB / 0.5545 GB, free: 20.36 MB / 410.7 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.0006948/0.01152, allocations: 0.4937 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01155, allocations: 19.78 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.01161, allocations: 24.92 kB / 0.555 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.0118, allocations: 182.5 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.01182, allocations: 12.61 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.01185, allocations: 16.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.01205, allocations: 163.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01206, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.01208, allocations: 8 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01208, allocations: 0 / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.01219, allocations: 80.69 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.01268, allocations: 369 kB / 0.5558 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.01289, allocations: 116 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.01294, allocations: 54.56 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.01295, allocations: 4 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.01314, allocations: 192.4 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.01314, allocations: 0 / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000679/0.01382, allocations: 0.5006 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01386, allocations: 140.5 kB / 0.5567 GB, free: 17.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.01398, allocations: 210.1 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.014, allocations: 33.7 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.01404, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.01409, allocations: 71.42 kB / 0.5572 GB, free: 17.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.01415, allocations: 55.16 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.0142, allocations: 338.8 kB / 0.5575 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.01427, allocations: 96.95 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.01436, allocations: 169.3 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.0145, allocations: 218.2 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.0145, allocations: 4 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002088/0.01471, allocations: 256.2 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.01474, allocations: 67.61 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01475, allocations: 8 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01476, allocations: 4 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.01498, allocations: 65.86 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01499, allocations: 4 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01511, allocations: 15.94 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01512, allocations: 11.98 kB / 0.5584 GB, free: 15.87 MB / 410.7 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.0001134/0.01524, allocations: 167.6 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01527, allocations: 27.34 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.01531, allocations: 21.97 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01531, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01531, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01532, allocations: 3.984 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01565, allocations: 377 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.01565, allocations: 3.938 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.01583, allocations: 39.97 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.01586, allocations: 19.86 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01586, allocations: 7.984 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01588, allocations: 7.938 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01588, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01588, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.01613, allocations: 345 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.01616, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01628, allocations: 11.98 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2804/0.2967, allocations: 16.22 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.2967, allocations: 9.734 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2969, allocations: 65.83 kB / 0.5595 GB, free: 79.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.2969, allocations: 0 / 0.5595 GB, free: 79.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002829/0.2972, allocations: 55.09 kB / 0.5595 GB, free: 79.5 MB / 410.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.0001307/0.2973, allocations: 101.3 kB / 0.5596 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.2975, allocations: 307.4 kB / 0.5599 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.2976, allocations: 2.781 kB / 0.5599 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.2976, allocations: 145.8 kB / 0.5601 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2979, allocations: 92.95 kB / 0.5602 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.3035, allocations: 0.5658 MB / 0.5607 GB, free: 78.84 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.3036, allocations: 79.84 kB / 0.5608 GB, free: 78.77 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3037, allocations: 26.3 kB / 0.5608 GB, free: 78.77 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3039, allocations: 120.8 kB / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of SimCode: time 2.334e-06/0.3039, allocations: 0 / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of Templates: time 0.006448/0.3104, allocations: 3.804 MB / 0.5647 GB, free: 78.55 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8028052067384124]