Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.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.002068/0.002068, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002233/0.002233, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.681/1.681, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.325/1.325, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.044e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab): time 0.003072/0.003102, allocations: 2.349 MB / 0.7022 GB, free: 6.219 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.004045, allocations: 0.5922 MB / 0.7028 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.00414, allocations: 0 / 0.7028 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.004267, allocations: 23.72 kB / 0.7028 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.004464, allocations: 87.27 kB / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004675, allocations: 51.81 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.00493, allocations: 266.6 kB / 0.7032 GB, free: 5.203 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005071, allocations: 40.56 kB / 0.7032 GB, free: 5.168 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.005229, allocations: 135.6 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.005428, allocations: 83.78 kB / 0.7034 GB, free: 4.953 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.005461, allocations: 16 kB / 0.7034 GB, free: 4.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.005493, allocations: 23.94 kB / 0.7035 GB, free: 4.914 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.005528, allocations: 43.77 kB / 0.7035 GB, free: 4.871 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.005612, allocations: 71.84 kB / 0.7036 GB, free: 4.801 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.00583, allocations: 203.3 kB / 0.7038 GB, free: 4.602 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.005834, allocations: 0 / 0.7038 GB, free: 4.602 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005835, allocations: 0 / 0.7038 GB, free: 4.602 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.005842, allocations: 3.938 kB / 0.7038 GB, free: 4.598 MB / 410.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.0007783/0.00662, allocations: 492.9 kB / 0.7042 GB, free: 4.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.006667, allocations: 12.03 kB / 0.7043 GB, free: 4.059 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.006725, allocations: 28.73 kB / 0.7043 GB, free: 4.031 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.006924, allocations: 178.4 kB / 0.7044 GB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.006946, allocations: 8.609 kB / 0.7045 GB, free: 3.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.006981, allocations: 16.38 kB / 0.7045 GB, free: 3.805 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.007306, allocations: 202.4 kB / 0.7047 GB, free: 3.594 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.007321, allocations: 3.953 kB / 0.7047 GB, free: 3.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.00734, allocations: 8 kB / 0.7047 GB, free: 3.582 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007346, allocations: 0 / 0.7047 GB, free: 3.582 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.007671, allocations: 146.3 kB / 0.7048 GB, free: 3.434 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.00835, allocations: 481.5 kB / 0.7053 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.008816, allocations: 176.1 kB / 0.7054 GB, free: 2.742 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.008979, allocations: 98.52 kB / 0.7055 GB, free: 2.637 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.008992, allocations: 4 kB / 0.7055 GB, free: 2.633 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.009286, allocations: 232.4 kB / 0.7058 GB, free: 2.375 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.009287, allocations: 0 / 0.7058 GB, free: 2.375 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.00132/0.01061, allocations: 0.6993 MB / 0.7064 GB, free: 1.613 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.01066, allocations: 140.5 kB / 0.7066 GB, free: 1.445 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.01083, allocations: 222.9 kB / 0.7068 GB, free: 1.219 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01085, allocations: 29.7 kB / 0.7068 GB, free: 1.184 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.01091, allocations: 132.5 kB / 0.7069 GB, free: 1.051 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.01095, allocations: 67.48 kB / 0.707 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.01102, allocations: 53.64 kB / 0.7071 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.01108, allocations: 334.8 kB / 0.7074 GB, free: 0.5898 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.01128, allocations: 145 kB / 0.7075 GB, free: 440 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.0115, allocations: 221.3 kB / 0.7077 GB, free: 172 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.01199, allocations: 280.8 kB / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01199, allocations: 4.031 kB / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007154/0.0127, allocations: 390.2 kB / 0.7084 GB, free: 15.44 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.01278, allocations: 67.39 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.01279, allocations: 4 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01281, allocations: 4 kB / 0.7084 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.01303, allocations: 60 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.01304, allocations: 4 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.01322, allocations: 15.98 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.01325, allocations: 12 kB / 0.7085 GB, free: 15.26 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.0002636/0.01351, allocations: 187.5 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.01356, allocations: 19.91 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.01362, allocations: 25.95 kB / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.877e-05/0.01372, allocations: 8 kB / 0.7088 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.01372, allocations: 3.938 kB / 0.7088 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01373, allocations: 0 / 0.7088 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.01467, allocations: 0.5367 MB / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01467, allocations: 0 / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.01487, allocations: 35.97 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01487, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01489, allocations: 4 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01489, allocations: 7.984 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0149, allocations: 4 kB / 0.7093 GB, free: 14.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.01582, allocations: 0.4914 MB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.01587, allocations: 27.89 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.01592, allocations: 12 kB / 0.7099 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.01609, allocations: 15.92 kB / 0.7099 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.01618, allocations: 15.97 kB / 0.7099 GB, free: 13.78 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.0162, allocations: 15.98 kB / 0.7099 GB, free: 13.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001872/0.01639, allocations: 160.4 kB / 0.7101 GB, free: 13.61 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01639, allocations: 0 / 0.7101 GB, free: 13.61 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002979/0.01669, allocations: 52 kB / 0.7101 GB, free: 13.56 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.0001651/0.01685, allocations: 108.6 kB / 0.7102 GB, free: 13.45 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.01753, allocations: 379.6 kB / 0.7106 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01753, allocations: 448 / 0.7106 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.01783, allocations: 177 kB / 0.7107 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.01831, allocations: 66.91 kB / 0.7108 GB, free: 12.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01958, allocations: 0.582 MB / 0.7114 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.01973, allocations: 125.6 kB / 0.7115 GB, free: 12.02 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.01983, allocations: 21.94 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.0199, allocations: 24.5 kB / 0.7115 GB, free: 11.97 MB / 426.8 MB Notification: Performance of SimCode: time 6.82e-07/0.0199, allocations: 4 kB / 0.7115 GB, free: 11.97 MB / 426.8 MB Notification: Performance of Templates: time 0.00801/0.02791, allocations: 3.312 MB / 0.7148 GB, free: 8.766 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.752920377999544]