Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.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.000692/0.000692, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000949/0.001641, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.0007269/0.0007269, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008837/0.001611, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9312/0.9312, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09733/1.028, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.819/0.819, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02676/0.8458, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.488e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir): time 0.001984/0.001999, allocations: 2.487 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.00617, allocations: 6.692 MB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.006242, allocations: 4 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.045e-05/0.006302, allocations: 23.72 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.006419, allocations: 87.27 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.006527, allocations: 63.8 kB / 0.5536 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.006686, allocations: 262.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.006777, allocations: 42.53 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.006927, allocations: 176.1 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.007062, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.007085, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.007108, allocations: 20 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.007132, allocations: 27.88 kB / 0.5542 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.007188, allocations: 63.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.007323, allocations: 135.5 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.007335, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007335, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.007345, allocations: 4 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004841/0.00783, allocations: 0.4976 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.007856, allocations: 19.78 kB / 0.5549 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.007893, allocations: 24.92 kB / 0.555 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.008018, allocations: 183 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.008035, allocations: 12.61 kB / 0.5551 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.008054, allocations: 12.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.008199, allocations: 159.4 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.008209, allocations: 0 / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.008219, allocations: 8 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.008224, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.008291, allocations: 80.7 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.008612, allocations: 369 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.008754, allocations: 108 kB / 0.5558 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.008786, allocations: 58.55 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.008794, allocations: 4 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.008912, allocations: 192.4 kB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.008913, allocations: 0 / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.00049/0.009403, allocations: 0.5045 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.009439, allocations: 140.5 kB / 0.5567 GB, free: 17.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.009528, allocations: 202 kB / 0.5569 GB, free: 17.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.00954, allocations: 33.7 kB / 0.5569 GB, free: 17.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.009571, allocations: 124.4 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.009602, allocations: 71.47 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.009643, allocations: 51.16 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.948e-05/0.009673, allocations: 334.8 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.009717, allocations: 100.9 kB / 0.5576 GB, free: 16.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.009771, allocations: 173.3 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.009858, allocations: 219 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00986, allocations: 3.625 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001271/0.009987, allocations: 260.3 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.01002, allocations: 67.39 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01002, allocations: 6.734 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.01003, allocations: 4 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01018, allocations: 59.91 kB / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.01018, allocations: 7.984 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.01026, allocations: 15.94 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01027, allocations: 12.22 kB / 0.5584 GB, free: 15.88 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 8.259e-05/0.01035, allocations: 173.6 kB / 0.5585 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.01037, allocations: 23.97 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.01039, allocations: 21.95 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01039, allocations: 4 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.0104, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.0104, allocations: 3.984 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.01062, allocations: 380.9 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01062, allocations: 7.938 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01072, allocations: 35.97 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01074, allocations: 19.86 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01074, allocations: 0 / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01075, allocations: 11.98 kB / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01075, allocations: 0 / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01075, allocations: 0 / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.01091, allocations: 345 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01093, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.011, allocations: 19.98 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2904/0.3014, allocations: 13.98 kB / 0.5594 GB, free: 79.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.3015, allocations: 10.17 kB / 0.5594 GB, free: 79.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3016, allocations: 65.2 kB / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3016, allocations: 0 / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002509/0.3018, allocations: 54.94 kB / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001253/0.302, allocations: 96.47 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.3022, allocations: 303.7 kB / 0.5599 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.3022, allocations: 2.188 kB / 0.5599 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.3023, allocations: 146.3 kB / 0.5601 GB, free: 79.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3026, allocations: 81.42 kB / 0.5601 GB, free: 79.06 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/0.3082, allocations: 0.5801 MB / 0.5607 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.3083, allocations: 79.52 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3084, allocations: 25.36 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3086, allocations: 119.5 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.242e-06/0.3086, allocations: 0 / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of Templates: time 0.00662/0.3152, allocations: 3.796 MB / 0.5646 GB, free: 78.52 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.72043152526021]