Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.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.002037/0.002037, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002517/0.002517, allocations: 219.5 kB / 22.25 MB, free: 3.559 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.705/1.705, allocations: 230.6 MB / 256 MB, free: 9.621 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.531/1.531, allocations: 316.7 MB / 0.6144 GB, free: 93.41 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.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") [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.003813/0.003813, allocations: 73.34 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.181, allocations: 73.99 MB / 0.8473 GB, free: 5.098 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin): time 0.005648/0.1866, allocations: 2.719 MB / 0.8499 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3343/0.5209, allocations: 6.6 MB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.5212, allocations: 6.062 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.5213, allocations: 41.02 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.5216, allocations: 123.7 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.5219, allocations: 71.72 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.5222, allocations: 371.4 kB / 0.857 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.5224, allocations: 55.33 kB / 0.857 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.5225, allocations: 143.5 kB / 0.8572 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.5228, allocations: 143.8 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.5229, allocations: 22.34 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.5229, allocations: 26.91 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.523, allocations: 51.41 kB / 0.8574 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.5231, allocations: 142.8 kB / 0.8575 GB, free: 21.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.5234, allocations: 283.6 kB / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5234, allocations: 1.875 kB / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5234, allocations: 0 / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.5234, allocations: 0.7812 kB / 0.8578 GB, free: 21.39 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001002/0.5244, allocations: 0.6055 MB / 0.8584 GB, free: 20.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5245, allocations: 9.875 kB / 0.8584 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.5246, allocations: 32.62 kB / 0.8584 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.5248, allocations: 216.3 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5248, allocations: 16 kB / 0.8587 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.5249, allocations: 27.62 kB / 0.8587 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.5253, allocations: 285.1 kB / 0.859 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5254, allocations: 4.578 kB / 0.859 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5254, allocations: 9.812 kB / 0.859 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5254, allocations: 6.969 kB / 0.859 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.5258, allocations: 231.3 kB / 0.8592 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.5269, allocations: 0.6792 MB / 0.8599 GB, free: 20.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.5274, allocations: 234 kB / 0.8601 GB, free: 20.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5276, allocations: 154.7 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5277, allocations: 4.172 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.5281, allocations: 358.8 kB / 0.8606 GB, free: 19.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.5281, allocations: 0.5 kB / 0.8606 GB, free: 19.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001824/0.5299, allocations: 1.082 MB / 0.8616 GB, free: 19.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.5299, allocations: 220.4 kB / 0.8618 GB, free: 19.01 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5302, allocations: 243.8 kB / 0.8621 GB, free: 18.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.5302, allocations: 42.42 kB / 0.8621 GB, free: 18.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.5303, allocations: 162.5 kB / 0.8623 GB, free: 18.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.5303, allocations: 111.9 kB / 0.8624 GB, free: 18.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.5304, allocations: 76.72 kB / 0.8625 GB, free: 18.67 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.5305, allocations: 342 kB / 0.8628 GB, free: 18.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.5308, allocations: 206.2 kB / 0.863 GB, free: 18.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.5314, allocations: 315 kB / 0.8633 GB, free: 18.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.5319, allocations: 433.9 kB / 0.8637 GB, free: 17.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5319, allocations: 1.625 kB / 0.8637 GB, free: 17.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008384/0.5328, allocations: 0.5501 MB / 0.8642 GB, free: 17.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.5328, allocations: 87.88 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5329, allocations: 3.75 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.5329, allocations: 6.125 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.5332, allocations: 82.23 kB / 0.8644 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.5332, allocations: 5.703 kB / 0.8644 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.5335, allocations: 29.41 kB / 0.8644 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5335, allocations: 17.12 kB / 0.8645 GB, free: 17.39 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002376/0.5337, allocations: 224.9 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.5338, allocations: 31.95 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.5339, allocations: 30.83 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5339, allocations: 2.719 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5339, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.5339, allocations: 7.531 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.535, allocations: 0.7677 MB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.535, allocations: 3.938 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.5353, allocations: 53.02 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.5353, allocations: 1.781 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.5353, allocations: 14.61 kB / 0.8656 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5354, allocations: 1.062 kB / 0.8656 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5354, allocations: 0.9062 kB / 0.8656 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5364, allocations: 0.7261 MB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.5364, allocations: 29.05 kB / 0.8663 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.5365, allocations: 17.12 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5367, allocations: 17.02 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5368, allocations: 30.56 kB / 0.8664 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.5368, allocations: 12.23 kB / 0.8664 GB, free: 16.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001614/0.537, allocations: 177.9 kB / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.537, allocations: 0 / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003566/0.5373, allocations: 86.31 kB / 0.8666 GB, free: 16.36 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001334/0.5375, allocations: 124.8 kB / 0.8667 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.5382, allocations: 0.5684 MB / 0.8673 GB, free: 15.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5382, allocations: 3.219 kB / 0.8673 GB, free: 15.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.5385, allocations: 302.4 kB / 0.8676 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.5391, allocations: 93.53 kB / 0.8677 GB, free: 15.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.5408, allocations: 0.9377 MB / 0.8686 GB, free: 15.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.541, allocations: 157.9 kB / 0.8687 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.5412, allocations: 32.36 kB / 0.8688 GB, free: 15.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.5412, allocations: 36.2 kB / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of SimCode: time 8.82e-07/0.5412, allocations: 0 / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01264/0.5539, allocations: 4.989 MB / 0.8737 GB, free: 14.63 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.95709028490819]