Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.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.001143/0.001143, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001492/0.001492, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.063/1.063, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7846/0.7846, allocations: 312.3 MB / 0.6109 GB, free: 97.11 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.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1728000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1728000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin") [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.001543/0.001543, allocations: 75.06 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 73.99 MB / 0.8422 GB, free: 9.797 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin): time 0.003179/0.1383, allocations: 2.711 MB / 0.8448 GB, free: 7.086 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.145, allocations: 6.602 MB / 0.8513 GB, free: 496 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.1452, allocations: 8.531 kB / 0.8513 GB, free: 488 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1454, allocations: 36.27 kB / 0.8513 GB, free: 452 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.1457, allocations: 124.2 kB / 0.8515 GB, free: 328 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.146, allocations: 72.44 kB / 0.8515 GB, free: 256 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1464, allocations: 374.2 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1465, allocations: 57.38 kB / 0.8519 GB, free: 15.83 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1467, allocations: 140.1 kB / 0.8521 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1469, allocations: 139.9 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.1469, allocations: 24.59 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.147, allocations: 28 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.147, allocations: 60.33 kB / 0.8523 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1471, allocations: 131.4 kB / 0.8524 GB, free: 15.32 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.1474, allocations: 291.4 kB / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1474, allocations: 0.5938 kB / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1474, allocations: 0 / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1474, allocations: 4.438 kB / 0.8527 GB, free: 15.03 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.0008309/0.1482, allocations: 0.5979 MB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1483, allocations: 8.562 kB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.1483, allocations: 33.41 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1486, allocations: 213.1 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1486, allocations: 17.38 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.1487, allocations: 24.47 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.149, allocations: 284.5 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1491, allocations: 12.59 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.1491, allocations: 12 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1491, allocations: 4.594 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.1494, allocations: 229 kB / 0.8541 GB, free: 13.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.1502, allocations: 0.6816 MB / 0.8548 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.1507, allocations: 227.6 kB / 0.855 GB, free: 12.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1508, allocations: 153.1 kB / 0.8551 GB, free: 12.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1508, allocations: 4 kB / 0.8551 GB, free: 12.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3218/0.4726, allocations: 355.6 kB / 0.8555 GB, free: 21.37 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 5.58e-06/0.4726, allocations: 0.875 kB / 0.8555 GB, free: 21.37 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001646/0.4742, allocations: 1.083 MB / 0.8565 GB, free: 20.88 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4743, allocations: 221.4 kB / 0.8567 GB, free: 20.63 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.4745, allocations: 249.7 kB / 0.857 GB, free: 20.53 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4745, allocations: 34.89 kB / 0.857 GB, free: 20.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.4746, allocations: 159.5 kB / 0.8572 GB, free: 20.4 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.4747, allocations: 116.3 kB / 0.8573 GB, free: 20.34 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.4748, allocations: 76.17 kB / 0.8573 GB, free: 20.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.4748, allocations: 342.1 kB / 0.8577 GB, free: 20.01 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.475, allocations: 210.9 kB / 0.8579 GB, free: 19.9 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.4753, allocations: 318.1 kB / 0.8582 GB, free: 19.67 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.4757, allocations: 437 kB / 0.8586 GB, free: 19.41 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4757, allocations: 1.719 kB / 0.8586 GB, free: 19.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005261/0.4762, allocations: 0.5441 MB / 0.8591 GB, free: 19.17 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.4763, allocations: 93.27 kB / 0.8592 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4763, allocations: 8.969 kB / 0.8592 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4763, allocations: 5.031 kB / 0.8592 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.4765, allocations: 81.23 kB / 0.8593 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4765, allocations: 5.719 kB / 0.8593 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.4767, allocations: 25.66 kB / 0.8593 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.4767, allocations: 20.34 kB / 0.8594 GB, free: 19.07 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.0002428/0.4769, allocations: 224.4 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.477, allocations: 29.22 kB / 0.8596 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.477, allocations: 31.98 kB / 0.8596 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.477, allocations: 7.344 kB / 0.8596 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.477, allocations: 1.312 kB / 0.8596 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.477, allocations: 7.938 kB / 0.8596 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.4779, allocations: 0.7594 MB / 0.8604 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4779, allocations: 0 / 0.8604 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.4781, allocations: 53.47 kB / 0.8604 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4781, allocations: 6.594 kB / 0.8604 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4781, allocations: 9.25 kB / 0.8605 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4781, allocations: 7.688 kB / 0.8605 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4781, allocations: 6.781 kB / 0.8605 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.4788, allocations: 0.7207 MB / 0.8612 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.4788, allocations: 25.84 kB / 0.8612 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.4788, allocations: 10.22 kB / 0.8612 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.479, allocations: 19.77 kB / 0.8612 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4791, allocations: 30.11 kB / 0.8613 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.4791, allocations: 14 kB / 0.8613 GB, free: 18.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4792, allocations: 176.5 kB / 0.8614 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4792, allocations: 0 / 0.8614 GB, free: 18.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002761/0.4795, allocations: 90.14 kB / 0.8615 GB, free: 18.06 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.0001364/0.4797, allocations: 131.9 kB / 0.8616 GB, free: 17.97 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.4802, allocations: 0.5588 MB / 0.8622 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4802, allocations: 2.531 kB / 0.8622 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.4805, allocations: 300.8 kB / 0.8625 GB, free: 17.44 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.4809, allocations: 88 kB / 0.8626 GB, free: 17.44 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4823, allocations: 0.9694 MB / 0.8635 GB, free: 16.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4825, allocations: 159.2 kB / 0.8637 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.4826, allocations: 27.95 kB / 0.8637 GB, free: 16.85 MB / 490.8 MB Notification: Performance of SimCode: time 1.292e-06/0.4826, allocations: 3.062 kB / 0.8637 GB, free: 16.85 MB / 490.8 MB Notification: Performance of Templates: time 0.007769/0.4903, allocations: 4.014 MB / 0.8676 GB, free: 16.5 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.908056953921914]