Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.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.0007603/0.0007603, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009775/0.001738, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.000724/0.000724, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009335/0.001657, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 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 0.9597/0.9597, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07962/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7017/0.7017, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03319/0.7349, allocations: 21.03 MB / 0.5431 GB, free: 31.95 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.NonDrugs.T_toxic_hazardous.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.886e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.002428/0.002447, allocations: 2.526 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.00421, allocations: 0.6155 MB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.004292, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.547e-05/0.004368, allocations: 35.66 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.004515, allocations: 87.25 kB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.004643, allocations: 55.81 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.004851, allocations: 266.6 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.00496, allocations: 34.53 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.005148, allocations: 180.2 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.005314, allocations: 87.72 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.005344, allocations: 16 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.879e-05/0.005372, allocations: 16 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.005403, allocations: 27.88 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.005471, allocations: 63.88 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.005651, allocations: 139.5 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.005666, allocations: 4 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005667, allocations: 0 / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.005679, allocations: 0 / 0.5485 GB, free: 26.39 MB / 410.7 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.0005959/0.006275, allocations: 0.4976 MB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.006306, allocations: 11.89 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.006354, allocations: 28.91 kB / 0.5491 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.009527, allocations: 167.1 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.009551, allocations: 12.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.009577, allocations: 24.34 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.009754, allocations: 155.5 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.009766, allocations: 3.938 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.009777, allocations: 4 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.009784, allocations: 4 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.009866, allocations: 80.64 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.01026, allocations: 368.9 kB / 0.5499 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01043, allocations: 112.1 kB / 0.55 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.01047, allocations: 58.55 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.01048, allocations: 4 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.01061, allocations: 188.3 kB / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.01062, allocations: 0 / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005556/0.01117, allocations: 0.5045 MB / 0.5507 GB, free: 23.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.01121, allocations: 140.5 kB / 0.5508 GB, free: 23.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01131, allocations: 206.1 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.01133, allocations: 29.7 kB / 0.5511 GB, free: 23.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.01136, allocations: 116.4 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.01141, allocations: 75.39 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.01146, allocations: 51.19 kB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.0115, allocations: 334.8 kB / 0.5516 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.01156, allocations: 101 kB / 0.5517 GB, free: 22.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.01164, allocations: 177.3 kB / 0.5519 GB, free: 22.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01176, allocations: 211.8 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01176, allocations: 3.984 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001739/0.01194, allocations: 258.9 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.01197, allocations: 71.38 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01197, allocations: 3.938 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.01198, allocations: 4 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.01216, allocations: 59.95 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01216, allocations: 7.938 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.01226, allocations: 21.61 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01227, allocations: 12 kB / 0.5525 GB, free: 21.91 MB / 410.7 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.003122/0.0154, allocations: 180.6 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.01542, allocations: 19.98 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.01546, allocations: 25.95 kB / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01546, allocations: 0 / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01546, allocations: 0 / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01546, allocations: 4 kB / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.01574, allocations: 374.2 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01574, allocations: 3.938 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01589, allocations: 51.28 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01591, allocations: 15.86 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01592, allocations: 4 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01593, allocations: 0 / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01593, allocations: 0 / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01593, allocations: 4 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.01613, allocations: 351.8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01616, allocations: 8 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.01626, allocations: 11.98 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.01631, allocations: 15.97 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01632, allocations: 19.92 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.897e-05/0.01637, allocations: 65.94 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 0 / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.0166, allocations: 56 kB / 0.5537 GB, free: 20.64 MB / 410.7 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 6.727e-05/0.01667, allocations: 88.36 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.01686, allocations: 304.5 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.01686, allocations: 8.375 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.01694, allocations: 149.9 kB / 0.5542 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01723, allocations: 89.2 kB / 0.5543 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.02255, allocations: 0.5705 MB / 0.5548 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.02258, allocations: 84.31 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.02264, allocations: 25.98 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.02276, allocations: 115.3 kB / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02276, allocations: 0 / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.004244/0.027, allocations: 3.769 MB / 0.5587 GB, free: 15.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.329354900866747]