Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.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.001446/0.001446, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.00151/0.00151, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.022/1.022, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.7353/0.7353, allocations: 291.1 MB / 0.5382 GB, free: 51.84 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.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.191e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline): time 0.002741/0.002773, allocations: 3.023 MB / 0.7003 GB, free: 7.367 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.007267, allocations: 6.639 MB / 0.7068 GB, free: 0.7188 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.007471, allocations: 4 kB / 0.7068 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.007615, allocations: 43.56 kB / 0.7068 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.007881, allocations: 134.9 kB / 0.707 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.008168, allocations: 83.84 kB / 0.707 GB, free: 468 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.008457, allocations: 429.8 kB / 0.7074 GB, free: 36 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.00863, allocations: 61.44 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.008833, allocations: 227.4 kB / 0.7077 GB, free: 15.75 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.009056, allocations: 123.6 kB / 0.7078 GB, free: 15.63 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.009097, allocations: 32 kB / 0.7079 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.009133, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.009182, allocations: 71.67 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.009284, allocations: 123.7 kB / 0.7081 GB, free: 15.38 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.009605, allocations: 363 kB / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.009609, allocations: 0 / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.385e-06/0.009611, allocations: 4 kB / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.009617, allocations: 3.938 kB / 0.7084 GB, free: 15.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008292/0.01045, allocations: 0.5959 MB / 0.709 GB, free: 14.37 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.01049, allocations: 8.031 kB / 0.709 GB, free: 14.36 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.01056, allocations: 44.7 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.01081, allocations: 224.7 kB / 0.7093 GB, free: 14.08 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.01083, allocations: 16.88 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.01087, allocations: 32.31 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.01125, allocations: 306.2 kB / 0.7096 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01127, allocations: 0 / 0.7096 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.01129, allocations: 8 kB / 0.7096 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.01129, allocations: 7.984 kB / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.01161, allocations: 256.2 kB / 0.7099 GB, free: 13.43 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.01244, allocations: 0.6465 MB / 0.7105 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.01289, allocations: 270 kB / 0.7108 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.01306, allocations: 160.4 kB / 0.7109 GB, free: 12.29 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01307, allocations: 7.938 kB / 0.7109 GB, free: 12.28 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.01342, allocations: 371.4 kB / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.01342, allocations: 4 kB / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001405/0.01483, allocations: 1.131 MB / 0.7124 GB, free: 10.63 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.01492, allocations: 225.6 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.01511, allocations: 253.8 kB / 0.7129 GB, free: 10.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01514, allocations: 37.7 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.01522, allocations: 152.9 kB / 0.713 GB, free: 9.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.01529, allocations: 119 kB / 0.7132 GB, free: 9.793 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.01537, allocations: 70.2 kB / 0.7132 GB, free: 9.719 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.01546, allocations: 346.7 kB / 0.7135 GB, free: 9.371 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.01568, allocations: 219.9 kB / 0.7138 GB, free: 9.137 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.01592, allocations: 330.8 kB / 0.7141 GB, free: 8.746 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.0163, allocations: 454.2 kB / 0.7145 GB, free: 8.234 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.0163, allocations: 4 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005417/0.01685, allocations: 0.5729 MB / 0.7151 GB, free: 7.613 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.01691, allocations: 94.38 kB / 0.7152 GB, free: 7.504 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.01692, allocations: 8 kB / 0.7152 GB, free: 7.496 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01693, allocations: 4 kB / 0.7152 GB, free: 7.492 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01711, allocations: 79.83 kB / 0.7152 GB, free: 7.414 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01712, allocations: 4 kB / 0.7153 GB, free: 7.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01724, allocations: 23.98 kB / 0.7153 GB, free: 7.387 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.01726, allocations: 20 kB / 0.7153 GB, free: 7.367 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0002392/0.0175, allocations: 249.8 kB / 0.7155 GB, free: 7.105 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01753, allocations: 31.81 kB / 0.7156 GB, free: 7.074 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.01758, allocations: 34.95 kB / 0.7156 GB, free: 7.039 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01758, allocations: 4 kB / 0.7156 GB, free: 7.035 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.01759, allocations: 0 / 0.7156 GB, free: 7.035 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01759, allocations: 0 / 0.7156 GB, free: 7.035 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.01839, allocations: 0.8211 MB / 0.7164 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01839, allocations: 0 / 0.7164 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.01856, allocations: 59.97 kB / 0.7165 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01856, allocations: 0 / 0.7165 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.01858, allocations: 15.98 kB / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01859, allocations: 4 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01859, allocations: 0 / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.01928, allocations: 0.7678 MB / 0.7172 GB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.01937, allocations: 55.77 kB / 0.7173 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.01942, allocations: 20 kB / 0.7173 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01952, allocations: 15.98 kB / 0.7173 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.0196, allocations: 32.02 kB / 0.7173 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01962, allocations: 19.92 kB / 0.7174 GB, free: 5.117 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01975, allocations: 185.2 kB / 0.7175 GB, free: 4.938 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01975, allocations: 0 / 0.7175 GB, free: 4.938 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000257/0.02, allocations: 88 kB / 0.7176 GB, free: 4.852 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001429/0.02015, allocations: 128.7 kB / 0.7177 GB, free: 4.723 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.0207, allocations: 0.592 MB / 0.7183 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0207, allocations: 0 / 0.7183 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.02094, allocations: 314.1 kB / 0.7186 GB, free: 3.719 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.02133, allocations: 83.67 kB / 0.7187 GB, free: 3.637 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.02248, allocations: 0.8889 MB / 0.7196 GB, free: 2.707 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02259, allocations: 168.2 kB / 0.7197 GB, free: 2.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.02266, allocations: 32.5 kB / 0.7198 GB, free: 2.488 MB / 426.8 MB Notification: Performance of SimCode: time 9.41e-07/0.02266, allocations: 0 / 0.7198 GB, free: 2.488 MB / 426.8 MB Notification: Performance of Templates: time 0.1994/0.2221, allocations: 4.364 MB / 0.724 GB, free: 36.3 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.003970270976424]