Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.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.001845/0.001845, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.001916/0.001916, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 9.617 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.394/1.394, allocations: 316.7 MB / 0.6144 GB, free: 93.01 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.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin") [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.004128/0.004128, allocations: 81.69 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1796, allocations: 73.98 MB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin): time 0.004884/0.1844, allocations: 2.709 MB / 0.8499 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3254/0.5099, allocations: 6.596 MB / 0.8564 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.5101, allocations: 5.281 kB / 0.8564 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.5103, allocations: 39.5 kB / 0.8564 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.5106, allocations: 120.9 kB / 0.8565 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.5108, allocations: 74.27 kB / 0.8566 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.5112, allocations: 376.1 kB / 0.857 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.5114, allocations: 54.55 kB / 0.857 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.5115, allocations: 145.7 kB / 0.8572 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.5118, allocations: 138.3 kB / 0.8573 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.5118, allocations: 27.38 kB / 0.8573 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.5119, allocations: 23.41 kB / 0.8573 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.5119, allocations: 58.12 kB / 0.8574 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.5121, allocations: 131.5 kB / 0.8575 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.5124, allocations: 287.1 kB / 0.8578 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5124, allocations: 0.5312 kB / 0.8578 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5124, allocations: 5.719 kB / 0.8578 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5124, allocations: 0 / 0.8578 GB, free: 21.81 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.000986/0.5134, allocations: 0.6031 MB / 0.8584 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5134, allocations: 9.156 kB / 0.8584 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.5135, allocations: 33.88 kB / 0.8584 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.5138, allocations: 212.5 kB / 0.8586 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5138, allocations: 18.52 kB / 0.8587 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.5139, allocations: 28.03 kB / 0.8587 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.5143, allocations: 286.4 kB / 0.859 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5143, allocations: 3.953 kB / 0.859 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.5144, allocations: 10.41 kB / 0.859 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5144, allocations: 3.562 kB / 0.859 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.5148, allocations: 234.2 kB / 0.8592 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.5161, allocations: 0.6818 MB / 0.8599 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.5167, allocations: 234.6 kB / 0.8601 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.517, allocations: 152.2 kB / 0.8602 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.5171, allocations: 2.281 kB / 0.8602 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005671/0.5176, allocations: 363.3 kB / 0.8606 GB, free: 20.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.576e-06/0.5176, allocations: 0.5938 kB / 0.8606 GB, free: 20.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002448/0.5201, allocations: 1.081 MB / 0.8616 GB, free: 19.68 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5202, allocations: 217.8 kB / 0.8618 GB, free: 19.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.5205, allocations: 245.7 kB / 0.8621 GB, free: 19.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.5206, allocations: 37.73 kB / 0.8621 GB, free: 19.29 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5207, allocations: 162 kB / 0.8623 GB, free: 19.18 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.5208, allocations: 113.5 kB / 0.8624 GB, free: 19.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5209, allocations: 70.55 kB / 0.8624 GB, free: 19.09 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.521, allocations: 341.3 kB / 0.8628 GB, free: 18.78 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.5213, allocations: 212.6 kB / 0.863 GB, free: 18.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.5217, allocations: 313.2 kB / 0.8633 GB, free: 18.45 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.5224, allocations: 431.2 kB / 0.8637 GB, free: 18.18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5224, allocations: 1.75 kB / 0.8637 GB, free: 18.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009535/0.5233, allocations: 0.549 MB / 0.8642 GB, free: 17.92 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.5234, allocations: 93.7 kB / 0.8643 GB, free: 17.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5234, allocations: 2.406 kB / 0.8643 GB, free: 17.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/0.5235, allocations: 9.047 kB / 0.8643 GB, free: 17.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.5238, allocations: 80.22 kB / 0.8644 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.5238, allocations: 6.281 kB / 0.8644 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.5241, allocations: 29.12 kB / 0.8644 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.5241, allocations: 16.25 kB / 0.8644 GB, free: 17.82 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.0002947/0.5244, allocations: 228.9 kB / 0.8647 GB, free: 17.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.5245, allocations: 31.41 kB / 0.8647 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.5246, allocations: 31.53 kB / 0.8647 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.5246, allocations: 3.578 kB / 0.8647 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5246, allocations: 0.5 kB / 0.8647 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5246, allocations: 7.125 kB / 0.8647 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.5258, allocations: 0.7687 MB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5258, allocations: 0.5 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.5261, allocations: 52.89 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5261, allocations: 2.375 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.5262, allocations: 15.41 kB / 0.8656 GB, free: 17.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5262, allocations: 1.75 kB / 0.8656 GB, free: 17.22 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5262, allocations: 1.797 kB / 0.8656 GB, free: 17.22 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5272, allocations: 0.7246 MB / 0.8663 GB, free: 16.88 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.5273, allocations: 25.73 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.5273, allocations: 18.23 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.5275, allocations: 18.25 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5276, allocations: 31.22 kB / 0.8664 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.5277, allocations: 10.39 kB / 0.8664 GB, free: 16.86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000176/0.5278, allocations: 179.7 kB / 0.8665 GB, free: 16.78 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5278, allocations: 0 / 0.8665 GB, free: 16.78 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003687/0.5282, allocations: 85.84 kB / 0.8666 GB, free: 16.78 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.0001516/0.5284, allocations: 125.8 kB / 0.8667 GB, free: 16.68 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007791/0.5291, allocations: 0.5702 MB / 0.8673 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5291, allocations: 0 / 0.8673 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.5295, allocations: 302.8 kB / 0.8676 GB, free: 16.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.5301, allocations: 88.16 kB / 0.8677 GB, free: 16.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5318, allocations: 0.9417 MB / 0.8686 GB, free: 15.65 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.5319, allocations: 161.4 kB / 0.8687 GB, free: 15.57 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.532, allocations: 35.45 kB / 0.8688 GB, free: 15.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.5321, allocations: 26.69 kB / 0.8688 GB, free: 15.55 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.5321, allocations: 0 / 0.8688 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Templates: time 0.01386/0.546, allocations: 4.999 MB / 0.8737 GB, free: 15.05 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.720871550962329]