Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.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.00187/0.00187, 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.002453/0.002453, allocations: 169.9 kB / 22.45 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.758 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.284/1.284, allocations: 293 MB / 0.5392 GB, free: 49.63 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_Gota2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6999 GB, free: 8.5 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.9e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference): time 0.003579/0.003608, allocations: 2.324 MB / 0.7022 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004858, allocations: 0.5923 MB / 0.7028 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.005009, allocations: 3.938 kB / 0.7028 GB, free: 5.555 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.005159, allocations: 27.72 kB / 0.7028 GB, free: 5.527 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.005401, allocations: 87.31 kB / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.005644, allocations: 51.81 kB / 0.703 GB, free: 5.391 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.005946, allocations: 262.6 kB / 0.7032 GB, free: 5.133 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.006121, allocations: 40.56 kB / 0.7032 GB, free: 5.098 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.006316, allocations: 139.6 kB / 0.7034 GB, free: 4.961 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.006543, allocations: 79.78 kB / 0.7035 GB, free: 4.883 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.006588, allocations: 20 kB / 0.7035 GB, free: 4.863 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.00663, allocations: 16 kB / 0.7035 GB, free: 4.848 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.006674, allocations: 39.78 kB / 0.7035 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.006779, allocations: 83.83 kB / 0.7036 GB, free: 4.727 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.007059, allocations: 203.3 kB / 0.7038 GB, free: 4.527 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007062, allocations: 3.938 kB / 0.7038 GB, free: 4.523 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007063, allocations: 0 / 0.7038 GB, free: 4.523 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007068, allocations: 0 / 0.7038 GB, free: 4.523 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.0009819/0.008049, allocations: 492.9 kB / 0.7043 GB, free: 3.996 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.008088, allocations: 11.89 kB / 0.7043 GB, free: 3.984 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.008155, allocations: 28.8 kB / 0.7043 GB, free: 3.957 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.008375, allocations: 178.3 kB / 0.7045 GB, free: 3.754 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.008395, allocations: 8.609 kB / 0.7045 GB, free: 3.746 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.008433, allocations: 16.38 kB / 0.7045 GB, free: 3.73 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.008774, allocations: 198.4 kB / 0.7047 GB, free: 3.523 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.008791, allocations: 11.94 kB / 0.7047 GB, free: 3.512 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.00881, allocations: 4 kB / 0.7047 GB, free: 3.508 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008816, allocations: 4 kB / 0.7047 GB, free: 3.504 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.009168, allocations: 146.2 kB / 0.7049 GB, free: 3.355 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.009901, allocations: 481.5 kB / 0.7053 GB, free: 2.852 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.01037, allocations: 180 kB / 0.7055 GB, free: 2.66 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.01054, allocations: 86.53 kB / 0.7056 GB, free: 2.566 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.01055, allocations: 4 kB / 0.7056 GB, free: 2.562 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.01088, allocations: 240.4 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.01088, allocations: 0 / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001345/0.01223, allocations: 0.6987 MB / 0.7065 GB, free: 1.535 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.01227, allocations: 132.5 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.01244, allocations: 227 kB / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.01246, allocations: 33.7 kB / 0.7069 GB, free: 1.105 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.01252, allocations: 132.5 kB / 0.707 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.01256, allocations: 67.48 kB / 0.707 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.01263, allocations: 53.69 kB / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.01269, allocations: 330.8 kB / 0.7074 GB, free: 0.5156 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.0129, allocations: 145 kB / 0.7076 GB, free: 364 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.01311, allocations: 225.3 kB / 0.7078 GB, free: 92 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.0139, allocations: 282.3 kB / 0.708 GB, free: 15.77 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0139, allocations: 0 / 0.708 GB, free: 15.77 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007217/0.01462, allocations: 391.9 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.01471, allocations: 68.12 kB / 0.7085 GB, free: 15.28 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.01472, allocations: 7.984 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/0.01476, allocations: 4 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.015, allocations: 51.84 kB / 0.7085 GB, free: 15.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.01502, allocations: 7.984 kB / 0.7085 GB, free: 15.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.01521, allocations: 15.98 kB / 0.7086 GB, free: 15.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.01525, allocations: 16.22 kB / 0.7086 GB, free: 15.18 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.0003502/0.0156, allocations: 180.2 kB / 0.7087 GB, free: 14.99 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.01564, allocations: 19.91 kB / 0.7088 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.01573, allocations: 21.97 kB / 0.7088 GB, free: 14.95 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.01574, allocations: 4 kB / 0.7088 GB, free: 14.94 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.01576, allocations: 7.922 kB / 0.7088 GB, free: 14.93 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01576, allocations: 0 / 0.7088 GB, free: 14.93 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.01684, allocations: 0.5406 MB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01684, allocations: 0 / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.01705, allocations: 35.97 kB / 0.7094 GB, free: 14.31 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.01706, allocations: 0 / 0.7094 GB, free: 14.31 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.01709, allocations: 11.94 kB / 0.7094 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01709, allocations: 0 / 0.7094 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01709, allocations: 0 / 0.7094 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.01806, allocations: 0.495 MB / 0.7099 GB, free: 13.77 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.01811, allocations: 23.86 kB / 0.7099 GB, free: 13.75 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.01816, allocations: 12.03 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.01833, allocations: 15.98 kB / 0.7099 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.01844, allocations: 19.97 kB / 0.7099 GB, free: 13.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.01847, allocations: 8 kB / 0.7099 GB, free: 13.7 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002097/0.01867, allocations: 156.4 kB / 0.7101 GB, free: 13.54 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01868, allocations: 0 / 0.7101 GB, free: 13.54 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003336/0.01901, allocations: 56 kB / 0.7101 GB, free: 13.49 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.0002393/0.01925, allocations: 122 kB / 0.7102 GB, free: 13.37 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.02002, allocations: 379.6 kB / 0.7106 GB, free: 12.95 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02002, allocations: 0 / 0.7106 GB, free: 12.95 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.02032, allocations: 173 kB / 0.7108 GB, free: 12.77 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.02086, allocations: 72.27 kB / 0.7108 GB, free: 12.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.02234, allocations: 0.5703 MB / 0.7114 GB, free: 12.09 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.02251, allocations: 125.6 kB / 0.7115 GB, free: 11.95 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.02263, allocations: 21.95 kB / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.02271, allocations: 24.5 kB / 0.7116 GB, free: 11.9 MB / 426.8 MB Notification: Performance of SimCode: time 8.22e-07/0.02271, allocations: 0 / 0.7116 GB, free: 11.9 MB / 426.8 MB Notification: Performance of Templates: time 0.009024/0.03173, allocations: 3.338 MB / 0.7148 GB, free: 8.711 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.638954183785245]