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.002441/0.002441, 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.002801/0.002801, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 9.582 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.512/1.512, allocations: 316.7 MB / 0.6144 GB, free: 92.92 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.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.004118/0.004118, allocations: 81 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1501, allocations: 73.98 MB / 0.8473 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin): time 0.004354/0.1545, allocations: 2.721 MB / 0.8499 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2851/0.4395, allocations: 6.594 MB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.4397, allocations: 6.125 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.4399, allocations: 42.38 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.4401, allocations: 118.7 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.4403, allocations: 72.72 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.4406, allocations: 374.6 kB / 0.857 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4408, allocations: 52.64 kB / 0.857 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4409, allocations: 144 kB / 0.8572 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.4412, allocations: 143.7 kB / 0.8573 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.4412, allocations: 25.5 kB / 0.8573 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.4413, allocations: 26.25 kB / 0.8573 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.4413, allocations: 53.09 kB / 0.8574 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.4414, allocations: 133.9 kB / 0.8575 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.4417, allocations: 286.9 kB / 0.8578 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4417, allocations: 0 / 0.8578 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4417, allocations: 4.812 kB / 0.8578 GB, free: 21.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.4418, allocations: 0 / 0.8578 GB, free: 21.66 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.0009211/0.4427, allocations: 0.6031 MB / 0.8584 GB, free: 21.19 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4427, allocations: 9.625 kB / 0.8584 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.4428, allocations: 33.94 kB / 0.8584 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.443, allocations: 210.8 kB / 0.8586 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.443, allocations: 18.34 kB / 0.8586 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.4431, allocations: 23.94 kB / 0.8587 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4435, allocations: 288 kB / 0.8589 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4435, allocations: 3.953 kB / 0.8589 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.4436, allocations: 11.28 kB / 0.859 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4436, allocations: 5.812 kB / 0.859 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.444, allocations: 233.9 kB / 0.8592 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.4449, allocations: 0.6799 MB / 0.8599 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.4454, allocations: 236 kB / 0.8601 GB, free: 20.38 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.4457, allocations: 149.3 kB / 0.8602 GB, free: 20.31 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.4457, allocations: 3.594 kB / 0.8602 GB, free: 20.31 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.4461, allocations: 365.9 kB / 0.8606 GB, free: 20.07 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.4461, allocations: 0.5938 kB / 0.8606 GB, free: 20.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001807/0.4479, allocations: 1.08 MB / 0.8616 GB, free: 19.53 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.4479, allocations: 220.2 kB / 0.8618 GB, free: 19.28 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.4482, allocations: 247.1 kB / 0.8621 GB, free: 19.17 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4482, allocations: 35.7 kB / 0.8621 GB, free: 19.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.4483, allocations: 160.7 kB / 0.8623 GB, free: 19.03 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.4483, allocations: 112 kB / 0.8624 GB, free: 18.96 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.4484, allocations: 75.7 kB / 0.8624 GB, free: 18.94 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.4485, allocations: 338.5 kB / 0.8628 GB, free: 18.63 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.4488, allocations: 213.6 kB / 0.863 GB, free: 18.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.4491, allocations: 313.3 kB / 0.8633 GB, free: 18.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.4496, allocations: 430.7 kB / 0.8637 GB, free: 18.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4496, allocations: 2.672 kB / 0.8637 GB, free: 18.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000778/0.4504, allocations: 0.549 MB / 0.8642 GB, free: 17.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.4504, allocations: 95.02 kB / 0.8643 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4504, allocations: 2.656 kB / 0.8643 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4504, allocations: 5.344 kB / 0.8643 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.4507, allocations: 80.47 kB / 0.8644 GB, free: 17.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4508, allocations: 9.188 kB / 0.8644 GB, free: 17.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.451, allocations: 28.23 kB / 0.8644 GB, free: 17.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.451, allocations: 16.16 kB / 0.8644 GB, free: 17.67 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.0001939/0.4512, allocations: 224 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.4513, allocations: 32.66 kB / 0.8647 GB, free: 17.47 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.4513, allocations: 35.05 kB / 0.8647 GB, free: 17.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4513, allocations: 2.344 kB / 0.8647 GB, free: 17.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4513, allocations: 2.312 kB / 0.8647 GB, free: 17.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4513, allocations: 5.297 kB / 0.8647 GB, free: 17.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4525, allocations: 0.764 MB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4525, allocations: 1.406 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.4528, allocations: 56.02 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4528, allocations: 1.219 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.4528, allocations: 14.17 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4528, allocations: 1.156 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4529, allocations: 1.25 kB / 0.8655 GB, free: 17.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.454, allocations: 0.724 MB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.454, allocations: 28.78 kB / 0.8663 GB, free: 16.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.4541, allocations: 15.17 kB / 0.8663 GB, free: 16.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.4543, allocations: 18.12 kB / 0.8663 GB, free: 16.71 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4544, allocations: 29.45 kB / 0.8663 GB, free: 16.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4544, allocations: 12.11 kB / 0.8663 GB, free: 16.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000165/0.4546, allocations: 177.9 kB / 0.8665 GB, free: 16.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4546, allocations: 2 kB / 0.8665 GB, free: 16.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003744/0.455, allocations: 86.03 kB / 0.8666 GB, free: 16.63 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.0001319/0.4551, allocations: 125.8 kB / 0.8667 GB, free: 16.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.4558, allocations: 0.5682 MB / 0.8673 GB, free: 16.18 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4558, allocations: 0 / 0.8673 GB, free: 16.18 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.4561, allocations: 309.3 kB / 0.8676 GB, free: 15.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.4566, allocations: 89.8 kB / 0.8677 GB, free: 15.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4584, allocations: 0.9323 MB / 0.8686 GB, free: 15.49 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.4585, allocations: 159.4 kB / 0.8687 GB, free: 15.41 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.4587, allocations: 36.19 kB / 0.8688 GB, free: 15.41 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.4588, allocations: 34.06 kB / 0.8688 GB, free: 15.39 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.4588, allocations: 0 / 0.8688 GB, free: 15.39 MB / 490.8 MB Notification: Performance of Templates: time 0.01038/0.4692, allocations: 4.995 MB / 0.8737 GB, free: 14.89 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.826176800997928]