Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_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.0006802/0.0006802, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008499/0.00153, 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.0006863/0.0006863, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008593/0.001546, 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 0.9633/0.9633, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09798/1.061, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.7429/0.7429, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03288/0.7758, allocations: 21.05 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.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.158e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.003331/0.003353, allocations: 2.514 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004524, allocations: 0.6271 MB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004641, allocations: 4 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.413e-05/0.004726, allocations: 27.66 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.004921, allocations: 83.31 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.005103, allocations: 59.81 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.005397, allocations: 262.6 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.005537, allocations: 46.47 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.005796, allocations: 164.3 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.006015, allocations: 87.72 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.006052, allocations: 16 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.006085, allocations: 20 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.006121, allocations: 27.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.006202, allocations: 59.88 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.006421, allocations: 147.5 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.765e-05/0.006439, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.00644, allocations: 4 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.006459, allocations: 0 / 0.5485 GB, free: 26.41 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.0007508/0.00721, allocations: 0.4976 MB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.007243, allocations: 8.031 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.007308, allocations: 20.92 kB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.007514, allocations: 179.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.007537, allocations: 16.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.007568, allocations: 8.375 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.007793, allocations: 159.5 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.007806, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.00782, allocations: 8 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007828, allocations: 4 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.007942, allocations: 80.58 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.008427, allocations: 372.9 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.00865, allocations: 112.2 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.008704, allocations: 54.55 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.008718, allocations: 4 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.008899, allocations: 195.7 kB / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.933e-06/0.008901, allocations: 0 / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006651/0.009566, allocations: 0.5112 MB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.009613, allocations: 144.5 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.009735, allocations: 194.1 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.009752, allocations: 33.7 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.009793, allocations: 120.4 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.009838, allocations: 79.39 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.009912, allocations: 47.17 kB / 0.5513 GB, free: 23.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.009978, allocations: 338.8 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.01005, allocations: 96.98 kB / 0.5517 GB, free: 22.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.01014, allocations: 173.3 kB / 0.5519 GB, free: 22.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01028, allocations: 215.8 kB / 0.5521 GB, free: 22.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01028, allocations: 0 / 0.5521 GB, free: 22.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002031/0.01049, allocations: 258.3 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.01052, allocations: 73.89 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01053, allocations: 6.656 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.01054, allocations: 4 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.01074, allocations: 63.89 kB / 0.5525 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01075, allocations: 7.938 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01086, allocations: 19.92 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01087, allocations: 12 kB / 0.5525 GB, free: 21.93 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.0001193/0.01099, allocations: 173.6 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.01102, allocations: 15.98 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.01107, allocations: 25.95 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01107, allocations: 4 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01107, allocations: 0 / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01108, allocations: 0 / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.01137, allocations: 378.2 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01137, allocations: 3.938 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.01152, allocations: 43.91 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.01155, allocations: 23.84 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.01155, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01156, allocations: 11.38 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01156, allocations: 0 / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.01157, allocations: 0 / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.0118, allocations: 347.8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.01183, allocations: 4 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01193, allocations: 19.92 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.01198, allocations: 19.97 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01199, allocations: 11.92 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.01205, allocations: 65.95 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01205, allocations: 0 / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.01228, allocations: 52 kB / 0.5536 GB, free: 20.67 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 7.834e-05/0.01236, allocations: 100.4 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.01255, allocations: 308.5 kB / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.01256, allocations: 4.438 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.01263, allocations: 145.9 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.0129, allocations: 81.83 kB / 0.5542 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.0182, allocations: 0.5782 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.01823, allocations: 80.33 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.0183, allocations: 25.94 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.01843, allocations: 119.3 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01843, allocations: 0 / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.0049/0.02333, allocations: 3.776 MB / 0.5587 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.326064569875598]