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.0006695/0.0006695, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009028/0.001572, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006893/0.0006893, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008838/0.001573, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 1.156/1.156, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1493/1.306, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8187/0.8187, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04058/0.8592, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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.503e-06/1.503e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.589e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.002872/0.002897, allocations: 2.539 MB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.003783, allocations: 0.6271 MB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.003871, allocations: 4 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.003947, allocations: 27.66 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.004099, allocations: 83.31 kB / 0.5478 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.004243, allocations: 55.88 kB / 0.5479 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.004471, allocations: 258.6 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.004602, allocations: 46.47 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.004801, allocations: 176.2 kB / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.004979, allocations: 83.73 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.005006, allocations: 16 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.005033, allocations: 20 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.005064, allocations: 23.88 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.005128, allocations: 67.86 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.005307, allocations: 135.5 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.005325, allocations: 0 / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005326, allocations: 3.984 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.005343, allocations: 8 kB / 0.5487 GB, free: 26.14 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.0006919/0.006035, allocations: 0.4898 MB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006069, allocations: 15.83 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.006117, allocations: 24.92 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.006289, allocations: 171.1 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.006309, allocations: 12.61 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.00634, allocations: 16.36 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.00653, allocations: 171.1 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.006545, allocations: 3.938 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.006556, allocations: 8 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006562, allocations: 0 / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.006642, allocations: 80.69 kB / 0.5497 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.007078, allocations: 368.8 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.00728, allocations: 108.1 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.007327, allocations: 66.53 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.007336, allocations: 4 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.007502, allocations: 184.4 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.007504, allocations: 0 / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006334/0.008138, allocations: 0.5105 MB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.008178, allocations: 174.1 kB / 0.551 GB, free: 23.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.00829, allocations: 206.1 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008305, allocations: 37.7 kB / 0.5513 GB, free: 23.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.008344, allocations: 116.4 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.008379, allocations: 71.42 kB / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.008433, allocations: 51.17 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.008471, allocations: 338.8 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.008532, allocations: 93 kB / 0.5519 GB, free: 22.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.008599, allocations: 173.3 kB / 0.5521 GB, free: 22.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.008713, allocations: 223.7 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008715, allocations: 0 / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001745/0.008889, allocations: 258.1 kB / 0.5525 GB, free: 21.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.008929, allocations: 59.41 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.008936, allocations: 7.938 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.008951, allocations: 12.2 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.009131, allocations: 63.91 kB / 0.5527 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.009136, allocations: 4 kB / 0.5527 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.009212, allocations: 19.92 kB / 0.5527 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.00923, allocations: 8 kB / 0.5527 GB, free: 21.62 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.0001299/0.00936, allocations: 168.7 kB / 0.5528 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.009383, allocations: 23.98 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.009416, allocations: 25.95 kB / 0.5529 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009419, allocations: 4 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.009422, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.009427, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.00971, allocations: 382.2 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009712, allocations: 3.938 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.009847, allocations: 39.91 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.009871, allocations: 19.86 kB / 0.5533 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.009875, allocations: 0 / 0.5533 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.009889, allocations: 15.98 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009893, allocations: 3.984 kB / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009894, allocations: 0 / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.0101, allocations: 347.9 kB / 0.5537 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01012, allocations: 11.98 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.0102, allocations: 4 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.01026, allocations: 27.94 kB / 0.5537 GB, free: 20.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01028, allocations: 7.938 kB / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.989e-05/0.01032, allocations: 61.95 kB / 0.5538 GB, free: 20.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 4 kB / 0.5538 GB, free: 20.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000166/0.01049, allocations: 60 kB / 0.5538 GB, free: 20.36 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 0.0001018/0.01059, allocations: 92.36 kB / 0.5539 GB, free: 20.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.01078, allocations: 312.4 kB / 0.5542 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.01079, allocations: 4 kB / 0.5542 GB, free: 19.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.01087, allocations: 145.9 kB / 0.5544 GB, free: 19.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01113, allocations: 92.28 kB / 0.5545 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.01635, allocations: 0.5659 MB / 0.555 GB, free: 19.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01639, allocations: 80.33 kB / 0.5551 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.01649, allocations: 21.94 kB / 0.5551 GB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.01663, allocations: 115.3 kB / 0.5552 GB, free: 18.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.354e-06/0.01663, allocations: 4 kB / 0.5552 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Templates: time 0.005642/0.02227, allocations: 3.772 MB / 0.5589 GB, free: 15.15 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.7239283453673124]