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.002471/0.002471, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002867/0.002867, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.618/1.618, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.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.286/1.286, allocations: 292.9 MB / 0.5392 GB, free: 50.17 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.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.372e-06/1.372e-06, allocations: 0 / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.116e-05/4.253e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir): time 0.002845/0.002887, allocations: 2.311 MB / 0.7022 GB, free: 6.207 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.008816, allocations: 6.533 MB / 0.7086 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.008985, allocations: 7.938 kB / 0.7086 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.009122, allocations: 19.78 kB / 0.7086 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.009422, allocations: 91.25 kB / 0.7087 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.00968, allocations: 55.88 kB / 0.7087 GB, free: 15.49 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.0101, allocations: 262.6 kB / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.01025, allocations: 36.5 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.01051, allocations: 147.6 kB / 0.7092 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.01075, allocations: 75.8 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.0108, allocations: 16 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.105e-05/0.01084, allocations: 16 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.01089, allocations: 51.77 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.01101, allocations: 71.83 kB / 0.7094 GB, free: 14.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.01132, allocations: 208.6 kB / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01132, allocations: 0 / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01132, allocations: 3.938 kB / 0.7096 GB, free: 14.62 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.01133, allocations: 7.938 kB / 0.7096 GB, free: 14.62 MB / 426.8 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.001001/0.01233, allocations: 488.8 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01237, allocations: 12.03 kB / 0.7101 GB, free: 14.08 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.01244, allocations: 24.8 kB / 0.7101 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.01274, allocations: 182.4 kB / 0.7103 GB, free: 13.85 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01277, allocations: 12.61 kB / 0.7103 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.01281, allocations: 16.36 kB / 0.7103 GB, free: 13.82 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.01322, allocations: 194.5 kB / 0.7105 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.01324, allocations: 7.938 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.01326, allocations: 4 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.01328, allocations: 4 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.01368, allocations: 146.2 kB / 0.7106 GB, free: 13.46 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.01462, allocations: 485.5 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.01518, allocations: 172.2 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.01538, allocations: 90.67 kB / 0.7113 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.0154, allocations: 3.938 kB / 0.7113 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/0.0158, allocations: 244.4 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.0158, allocations: 0 / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001653/0.01745, allocations: 0.6939 MB / 0.7123 GB, free: 11.64 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.01757, allocations: 136.5 kB / 0.7124 GB, free: 11.48 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.01783, allocations: 219 kB / 0.7126 GB, free: 11.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.01786, allocations: 33.7 kB / 0.7126 GB, free: 11.21 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01798, allocations: 132.5 kB / 0.7128 GB, free: 11.08 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.01805, allocations: 79.36 kB / 0.7128 GB, free: 11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.01815, allocations: 49.69 kB / 0.7129 GB, free: 10.95 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.01833, allocations: 334.8 kB / 0.7132 GB, free: 10.61 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.01861, allocations: 149 kB / 0.7133 GB, free: 10.45 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.01893, allocations: 221.3 kB / 0.7136 GB, free: 10.19 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.01952, allocations: 282.3 kB / 0.7138 GB, free: 9.871 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01953, allocations: 4 kB / 0.7138 GB, free: 9.867 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006952/0.02022, allocations: 391.9 kB / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.02029, allocations: 63.41 kB / 0.7143 GB, free: 9.379 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02029, allocations: 0 / 0.7143 GB, free: 9.379 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.02031, allocations: 4 kB / 0.7143 GB, free: 9.375 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.02053, allocations: 55.84 kB / 0.7143 GB, free: 9.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.02054, allocations: 3.984 kB / 0.7143 GB, free: 9.316 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.02073, allocations: 20.2 kB / 0.7143 GB, free: 9.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.02076, allocations: 16 kB / 0.7144 GB, free: 9.281 MB / 426.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: 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 0.0002313/0.02099, allocations: 172.3 kB / 0.7145 GB, free: 9.098 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.02103, allocations: 19.91 kB / 0.7145 GB, free: 9.078 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.02108, allocations: 25.91 kB / 0.7146 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.02109, allocations: 0 / 0.7146 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.02109, allocations: 3.938 kB / 0.7146 GB, free: 9.047 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.0211, allocations: 3.984 kB / 0.7146 GB, free: 9.043 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.02199, allocations: 0.5471 MB / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02199, allocations: 0 / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.02218, allocations: 31.92 kB / 0.7151 GB, free: 8.418 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.02219, allocations: 3.984 kB / 0.7151 GB, free: 8.414 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.0222, allocations: 8 kB / 0.7151 GB, free: 8.406 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02221, allocations: 0 / 0.7151 GB, free: 8.406 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.02221, allocations: 4 kB / 0.7151 GB, free: 8.402 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.02308, allocations: 0.4963 MB / 0.7156 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.02313, allocations: 19.86 kB / 0.7157 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.02317, allocations: 11.97 kB / 0.7157 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.02335, allocations: 15.98 kB / 0.7157 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.02344, allocations: 19.97 kB / 0.7157 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.02347, allocations: 12 kB / 0.7157 GB, free: 7.797 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001772/0.02364, allocations: 160.4 kB / 0.7159 GB, free: 7.641 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02364, allocations: 0 / 0.7159 GB, free: 7.641 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003025/0.02395, allocations: 56 kB / 0.7159 GB, free: 7.586 MB / 426.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.0001532/0.0241, allocations: 115.2 kB / 0.716 GB, free: 7.465 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.02477, allocations: 382.1 kB / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02477, allocations: 0 / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.02506, allocations: 173 kB / 0.7166 GB, free: 6.863 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.02551, allocations: 68.27 kB / 0.7166 GB, free: 6.797 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02697, allocations: 0.5703 MB / 0.7172 GB, free: 6.195 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.02712, allocations: 121.6 kB / 0.7173 GB, free: 6.055 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.02729, allocations: 25.94 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.02735, allocations: 24.5 kB / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.02736, allocations: 4 kB / 0.7173 GB, free: 6 MB / 426.8 MB Notification: Performance of Templates: time 0.2449/0.2722, allocations: 3.331 MB / 0.7206 GB, free: 36.46 MB / 426.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: 7.006984275067225]