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.0006967/0.0006967, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001596, allocations: 443.8 kB / 10.3 MB, free: 400 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.000707/0.000707, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000892/0.001599, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9848/0.9848, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08502/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8005/0.8005, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03837/0.8389, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.803e-06/1.803e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.563e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.003792/0.003818, allocations: 2.523 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.00504, allocations: 0.6155 MB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.005158, allocations: 7.938 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.005246, allocations: 23.77 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.005461, allocations: 87.27 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.005637, allocations: 55.81 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.005901, allocations: 262.6 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.006018, allocations: 42.52 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.006259, allocations: 176.1 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.006451, allocations: 83.78 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.006486, allocations: 16 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.006522, allocations: 20 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.006553, allocations: 23.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.00663, allocations: 67.88 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.00683, allocations: 147.4 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.006847, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006848, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.006864, allocations: 0 / 0.5485 GB, free: 26.43 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.0007379/0.007602, allocations: 0.4937 MB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.007633, allocations: 11.89 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.0077, allocations: 32.34 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.007911, allocations: 175.1 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.007941, allocations: 16.59 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.007973, allocations: 12.38 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.008204, allocations: 162.9 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.008218, allocations: 0 / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.008234, allocations: 11.98 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.008241, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.008366, allocations: 80.64 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.008901, allocations: 369 kB / 0.5498 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.009132, allocations: 104.1 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.00919, allocations: 58.69 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.009205, allocations: 11.92 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.009384, allocations: 188.3 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.009386, allocations: 0 / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000711/0.0101, allocations: 0.5119 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.01013, allocations: 136.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01027, allocations: 202.1 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01028, allocations: 33.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.01033, allocations: 116.4 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.01038, allocations: 71.39 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.01045, allocations: 55.17 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.01048, allocations: 334.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.01055, allocations: 101 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.01063, allocations: 169.3 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01078, allocations: 219.8 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.01079, allocations: 4 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002464/0.01103, allocations: 262.8 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.01107, allocations: 67.34 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01108, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.01109, allocations: 0 / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.01134, allocations: 67.89 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01135, allocations: 4 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01148, allocations: 19.92 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.0115, allocations: 8 kB / 0.5525 GB, free: 21.95 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.0001371/0.01164, allocations: 177 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.01167, allocations: 19.98 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.01171, allocations: 25.95 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01171, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01171, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01172, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.01208, allocations: 374.3 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01208, allocations: 3.938 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.01229, allocations: 47.91 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.01232, allocations: 19.86 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01232, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.01234, allocations: 4 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01234, allocations: 3.047 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01234, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.01264, allocations: 347.8 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.01268, allocations: 15.92 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01281, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.01287, allocations: 23.95 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.01289, allocations: 11.94 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.01296, allocations: 65.94 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01296, allocations: 0 / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.01324, allocations: 56 kB / 0.5536 GB, free: 20.69 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.0001069/0.01334, allocations: 84.42 kB / 0.5537 GB, free: 20.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01359, allocations: 319.4 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.0136, allocations: 4.125 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.0137, allocations: 141.9 kB / 0.5541 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.01409, allocations: 81.64 kB / 0.5542 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.01985, allocations: 0.5918 MB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.01991, allocations: 125.6 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.02008, allocations: 119.3 kB / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02008, allocations: 0 / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.002457/0.02254, allocations: 2.925 MB / 0.5579 GB, free: 16.23 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.283733012154698]