Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.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.001941/0.001941, 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.002035/0.002035, allocations: 219.6 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.826/1.826, allocations: 230.6 MB / 256 MB, free: 9.59 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.472/1.472, allocations: 316.7 MB / 0.6144 GB, free: 93.44 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.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin") [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.004168/0.004168, allocations: 73.8 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1511, allocations: 73.99 MB / 0.8473 GB, free: 5.121 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin): time 0.00466/0.1557, allocations: 2.704 MB / 0.8499 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.411/0.5667, allocations: 6.6 MB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.5669, allocations: 0.5 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.5671, allocations: 41.83 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.5674, allocations: 121.8 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.5676, allocations: 71.45 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.5681, allocations: 375.2 kB / 0.857 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.5683, allocations: 54.33 kB / 0.857 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.5685, allocations: 145.8 kB / 0.8572 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.5688, allocations: 139.8 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.5688, allocations: 26.38 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.5689, allocations: 23.56 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.5689, allocations: 57.64 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.5691, allocations: 135.8 kB / 0.8575 GB, free: 21.45 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.5694, allocations: 285.5 kB / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5694, allocations: 0 / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5694, allocations: 0.8438 kB / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5694, allocations: 1.719 kB / 0.8578 GB, free: 21.4 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.000974/0.5704, allocations: 0.6049 MB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5704, allocations: 8.344 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.5705, allocations: 35.34 kB / 0.8584 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5708, allocations: 215.6 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5708, allocations: 15.91 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.5708, allocations: 25.53 kB / 0.8587 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.5713, allocations: 284 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5713, allocations: 5.172 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.5713, allocations: 9.844 kB / 0.859 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5714, allocations: 6.969 kB / 0.859 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.5718, allocations: 234.5 kB / 0.8592 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5728, allocations: 0.6756 MB / 0.8598 GB, free: 20.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.5734, allocations: 239.4 kB / 0.8601 GB, free: 20.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5736, allocations: 148.6 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5736, allocations: 6.5 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.5741, allocations: 362.4 kB / 0.8606 GB, free: 19.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.457e-06/0.5741, allocations: 1.969 kB / 0.8606 GB, free: 19.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001836/0.5759, allocations: 1.08 MB / 0.8616 GB, free: 19.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.576, allocations: 218.4 kB / 0.8618 GB, free: 19.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.5762, allocations: 252.7 kB / 0.8621 GB, free: 18.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.5762, allocations: 34.27 kB / 0.8621 GB, free: 18.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.5763, allocations: 156.6 kB / 0.8623 GB, free: 18.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.5764, allocations: 122.5 kB / 0.8624 GB, free: 18.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5765, allocations: 68.48 kB / 0.8624 GB, free: 18.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.5766, allocations: 344.9 kB / 0.8628 GB, free: 18.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.5769, allocations: 208 kB / 0.863 GB, free: 18.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.5772, allocations: 316.1 kB / 0.8633 GB, free: 18.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.5777, allocations: 432.3 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5777, allocations: 0 / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007872/0.5785, allocations: 0.5487 MB / 0.8642 GB, free: 17.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.5785, allocations: 92.09 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5785, allocations: 4.062 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.5786, allocations: 4.688 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.5789, allocations: 81.75 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.5789, allocations: 5.812 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.5791, allocations: 27.81 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.5792, allocations: 18.36 kB / 0.8644 GB, free: 17.41 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.0002173/0.5794, allocations: 220.6 kB / 0.8646 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.5794, allocations: 32.81 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.5795, allocations: 29.62 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5795, allocations: 4.062 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5795, allocations: 5.172 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5795, allocations: 6.531 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.5806, allocations: 0.7699 MB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5807, allocations: 0.6562 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.5809, allocations: 53.66 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5809, allocations: 1.094 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.581, allocations: 14.94 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.581, allocations: 1.844 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.581, allocations: 1.75 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.582, allocations: 0.7231 MB / 0.8663 GB, free: 16.47 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.582, allocations: 28.55 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.5821, allocations: 18.67 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.5823, allocations: 18.42 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5824, allocations: 29.14 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5824, allocations: 12.59 kB / 0.8664 GB, free: 16.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001733/0.5826, allocations: 179.2 kB / 0.8665 GB, free: 16.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5826, allocations: 0 / 0.8665 GB, free: 16.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003826/0.583, allocations: 86.62 kB / 0.8666 GB, free: 16.37 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.0001346/0.5831, allocations: 122.2 kB / 0.8667 GB, free: 16.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007378/0.5839, allocations: 0.5752 MB / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5839, allocations: 0 / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.5842, allocations: 298.4 kB / 0.8676 GB, free: 15.72 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.5847, allocations: 93.28 kB / 0.8677 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.5863, allocations: 0.9333 MB / 0.8686 GB, free: 15.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.5865, allocations: 157.6 kB / 0.8687 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.5866, allocations: 35 kB / 0.8688 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.5867, allocations: 31.67 kB / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of SimCode: time 6.81e-07/0.5867, allocations: 3.938 kB / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01117/0.5979, allocations: 4.993 MB / 0.8737 GB, free: 14.64 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.276014677016065]