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.000677/0.000677, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008718/0.001549, allocations: 435.8 kB / 10.33 MB, free: 368 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.000701/0.000701, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000892/0.001593, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09822/1.134, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.821/0.821, allocations: 291.1 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03164/0.8526, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.433e-06/1.433e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.25e-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.002255/0.002277, allocations: 2.531 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006469/0.002924, allocations: 0.6271 MB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.002993, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.003049, allocations: 31.66 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.003164, allocations: 79.33 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.003276, allocations: 59.81 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.003454, allocations: 270.6 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003559, allocations: 38.48 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.003711, allocations: 172.2 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.003852, allocations: 87.72 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003875, allocations: 16 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.003895, allocations: 16 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.003919, allocations: 27.88 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.003973, allocations: 63.88 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.004113, allocations: 143.5 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.004124, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004125, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.004137, allocations: 0 / 0.5486 GB, free: 26.38 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.0005083/0.004645, allocations: 0.4937 MB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.004673, allocations: 11.89 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.004719, allocations: 28.91 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.004903, allocations: 175.1 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.00492, allocations: 16.61 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.004943, allocations: 12.38 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.005087, allocations: 155.5 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005098, allocations: 11.91 kB / 0.5494 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005109, allocations: 7.938 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005114, allocations: 7.984 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.005187, allocations: 76.7 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.005531, allocations: 360.9 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.005692, allocations: 116 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.005725, allocations: 62.53 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.005733, allocations: 4 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.005855, allocations: 184.4 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.005857, allocations: 0 / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004839/0.00634, allocations: 0.5143 MB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.00637, allocations: 132.5 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.006453, allocations: 210.1 kB / 0.5511 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006466, allocations: 33.7 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.006498, allocations: 112.4 kB / 0.5512 GB, free: 23.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.006531, allocations: 71.41 kB / 0.5513 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.006576, allocations: 55.17 kB / 0.5513 GB, free: 23.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.006609, allocations: 342.7 kB / 0.5516 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.006659, allocations: 97 kB / 0.5517 GB, free: 22.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.006716, allocations: 173.3 kB / 0.5519 GB, free: 22.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.006808, allocations: 215.7 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.00681, allocations: 0 / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001377/0.006947, allocations: 266.2 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.006981, allocations: 63.41 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006986, allocations: 0 / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.006995, allocations: 11.25 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.007139, allocations: 69.86 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007143, allocations: 0 / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.007217, allocations: 23.92 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.007226, allocations: 8 kB / 0.5525 GB, free: 21.89 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 9.647e-05/0.007323, allocations: 167.7 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.007341, allocations: 19.98 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.007371, allocations: 25.95 kB / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.007372, allocations: 0 / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007374, allocations: 4 kB / 0.5527 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007378, allocations: 0 / 0.5527 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.007596, allocations: 378.2 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007598, allocations: 7.938 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.007704, allocations: 43.97 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.007721, allocations: 19.86 kB / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007723, allocations: 0 / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.007732, allocations: 0 / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007735, allocations: 4 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007736, allocations: 3.984 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.007897, allocations: 351.8 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.00792, allocations: 11.98 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.007988, allocations: 8 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.00803, allocations: 23.19 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.008038, allocations: 19.92 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.008077, allocations: 61.95 kB / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008077, allocations: 0 / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.008231, allocations: 56 kB / 0.5537 GB, free: 20.63 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.39e-05/0.008295, allocations: 92.36 kB / 0.5538 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.008451, allocations: 304.5 kB / 0.5541 GB, free: 20.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.008457, allocations: 4.438 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.008518, allocations: 157.8 kB / 0.5542 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.008731, allocations: 77.91 kB / 0.5543 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.01405, allocations: 0.5819 MB / 0.5549 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.01408, allocations: 76.33 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.01416, allocations: 21.95 kB / 0.5549 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.0143, allocations: 115.3 kB / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0143, allocations: 0 / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of Templates: time 0.004642/0.01894, allocations: 3.777 MB / 0.5587 GB, free: 15.41 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.5220394320786]