Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_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.001932/0.001932, 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.002258/0.002258, allocations: 170.3 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.723/1.723, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.308/1.308, allocations: 293 MB / 0.5392 GB, free: 50.2 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.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.428e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.002986/0.003021, allocations: 2.332 MB / 0.7022 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.003947, allocations: 0.5806 MB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.004042, allocations: 3.938 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.004163, allocations: 31.64 kB / 0.7028 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.004354, allocations: 83.39 kB / 0.7028 GB, free: 5.527 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.004545, allocations: 59.75 kB / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.004787, allocations: 262.6 kB / 0.7031 GB, free: 5.211 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.004921, allocations: 40.56 kB / 0.7032 GB, free: 5.176 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.005067, allocations: 131.6 kB / 0.7033 GB, free: 5.047 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.00526, allocations: 91.7 kB / 0.7034 GB, free: 4.957 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.005293, allocations: 20 kB / 0.7034 GB, free: 4.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.005324, allocations: 16 kB / 0.7034 GB, free: 4.922 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.005356, allocations: 31.86 kB / 0.7035 GB, free: 4.891 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.00544, allocations: 83.77 kB / 0.7035 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.005652, allocations: 203.3 kB / 0.7037 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005654, allocations: 0 / 0.7037 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005655, allocations: 0 / 0.7037 GB, free: 4.609 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.00566, allocations: 0 / 0.7037 GB, free: 4.609 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.0007726/0.006432, allocations: 496.8 kB / 0.7042 GB, free: 4.078 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.006475, allocations: 11.89 kB / 0.7042 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.006537, allocations: 28.8 kB / 0.7043 GB, free: 4.039 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006735, allocations: 186.3 kB / 0.7044 GB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.006755, allocations: 8.609 kB / 0.7044 GB, free: 3.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.006793, allocations: 16.38 kB / 0.7045 GB, free: 3.805 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.007113, allocations: 194.5 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.007128, allocations: 3.953 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.007147, allocations: 8 kB / 0.7047 GB, free: 3.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.007153, allocations: 4 kB / 0.7047 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.007484, allocations: 154.2 kB / 0.7048 GB, free: 3.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.008147, allocations: 473.5 kB / 0.7053 GB, free: 2.934 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.008608, allocations: 180 kB / 0.7054 GB, free: 2.742 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.008774, allocations: 98.52 kB / 0.7055 GB, free: 2.637 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.008788, allocations: 4 kB / 0.7055 GB, free: 2.633 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.009094, allocations: 237.5 kB / 0.7057 GB, free: 2.375 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.009095, allocations: 3.938 kB / 0.7058 GB, free: 2.371 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001326/0.01042, allocations: 0.6948 MB / 0.7064 GB, free: 1.613 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.01048, allocations: 140.5 kB / 0.7066 GB, free: 1.445 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01065, allocations: 226.9 kB / 0.7068 GB, free: 1.215 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01067, allocations: 29.7 kB / 0.7068 GB, free: 1.18 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.01073, allocations: 132.5 kB / 0.7069 GB, free: 1.047 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.01077, allocations: 67.48 kB / 0.707 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.01084, allocations: 49.7 kB / 0.707 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.01091, allocations: 338.8 kB / 0.7074 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.01112, allocations: 141 kB / 0.7075 GB, free: 440 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.01134, allocations: 225.3 kB / 0.7077 GB, free: 168 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.01178, allocations: 282.4 kB / 0.708 GB, free: 15.84 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01178, allocations: 0 / 0.708 GB, free: 15.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007079/0.01249, allocations: 391.9 kB / 0.7084 GB, free: 15.43 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.01255, allocations: 63.39 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.01256, allocations: 4 kB / 0.7084 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01258, allocations: 4 kB / 0.7084 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.0128, allocations: 55.84 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01281, allocations: 4 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.01299, allocations: 16.2 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.01302, 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.0002627/0.01328, allocations: 180.3 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.01332, allocations: 19.91 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.01338, allocations: 21.95 kB / 0.7087 GB, free: 15.03 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01339, allocations: 7.938 kB / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.01339, allocations: 3.938 kB / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.0134, allocations: 0 / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.01429, allocations: 0.5444 MB / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.0143, allocations: 0 / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.01449, allocations: 35.97 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01449, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.01452, allocations: 11.94 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01452, allocations: 0 / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01452, allocations: 0 / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.01539, allocations: 0.4987 MB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.01544, allocations: 27.89 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.01548, allocations: 8 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.01565, allocations: 11.98 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.01574, allocations: 23.97 kB / 0.7099 GB, free: 13.78 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01576, allocations: 7.984 kB / 0.7099 GB, free: 13.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001684/0.01593, allocations: 156.4 kB / 0.71 GB, free: 13.62 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01593, allocations: 0 / 0.71 GB, free: 13.62 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003024/0.01623, allocations: 52 kB / 0.7101 GB, free: 13.57 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.0001719/0.0164, allocations: 121.9 kB / 0.7102 GB, free: 13.45 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.01707, allocations: 383.6 kB / 0.7106 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01707, allocations: 0 / 0.7106 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.01737, allocations: 173 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.01785, allocations: 72.27 kB / 0.7108 GB, free: 12.77 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.01907, allocations: 0.5676 MB / 0.7113 GB, free: 12.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.01922, allocations: 125.6 kB / 0.7115 GB, free: 12.03 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.614e-05/0.01932, allocations: 21.95 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01939, allocations: 24.48 kB / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of SimCode: time 3.7e-07/0.01939, allocations: 0 / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of Templates: time 0.008654/0.02804, allocations: 3.332 MB / 0.7148 GB, free: 8.797 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.738664775155485]