Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.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.0009105/0.0009105, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002105, 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.0007194/0.0007194, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001644, 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.9512/0.9512, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08612/1.037, 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.7603/0.7603, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03015/0.7904, 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.Crotoxin.Crotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.917e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.003066/0.003085, allocations: 2.538 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.004013, allocations: 0.6115 MB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.004112, allocations: 0 / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.836e-05/0.004191, allocations: 31.66 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.004368, allocations: 87.27 kB / 0.5477 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.004526, allocations: 59.8 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.004787, allocations: 262.6 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004905, allocations: 38.53 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.005127, allocations: 172.2 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.005308, allocations: 87.72 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.005339, allocations: 16 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.005373, allocations: 20 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.005405, allocations: 27.88 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.005477, allocations: 63.88 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.005677, allocations: 143.5 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.00569, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005691, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.005703, 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.0006675/0.006371, allocations: 0.4937 MB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.006403, allocations: 19.88 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.006456, allocations: 24.92 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.006659, allocations: 175.1 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.006684, allocations: 12.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.006714, allocations: 12.38 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.006916, allocations: 159.5 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.006929, allocations: 0 / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.006942, allocations: 7.938 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.006948, allocations: 4 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.00705, allocations: 88.61 kB / 0.5495 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.007523, allocations: 364.9 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.007725, allocations: 108.1 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.007776, allocations: 65.34 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.007787, allocations: 4 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.007952, allocations: 192.3 kB / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.007954, allocations: 0 / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006716/0.008626, allocations: 0.5041 MB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.008663, allocations: 132.5 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.008786, allocations: 210.1 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.008808, allocations: 33.7 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.008849, allocations: 116.4 kB / 0.5511 GB, free: 23.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.008893, allocations: 67.42 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.008958, allocations: 59.16 kB / 0.5513 GB, free: 23.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.008999, allocations: 334.8 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.009069, allocations: 97 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.009157, allocations: 177.3 kB / 0.5518 GB, free: 22.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.009297, allocations: 215.7 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009299, allocations: 0 / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000221/0.00952, allocations: 267.2 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.009556, allocations: 63.39 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.009561, allocations: 0 / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.009571, allocations: 7.938 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.009791, allocations: 67.91 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.009797, allocations: 7.922 kB / 0.5524 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.009923, allocations: 24.16 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.009938, allocations: 4 kB / 0.5525 GB, free: 21.92 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.0001161/0.01005, allocations: 169.7 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.01009, allocations: 23.97 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.01012, allocations: 21.97 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01012, allocations: 0 / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01012, allocations: 4 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01013, allocations: 3.984 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.01046, allocations: 374.2 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.01046, allocations: 7.938 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.01063, allocations: 35.97 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.01066, allocations: 19.86 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01067, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.01068, allocations: 7.984 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01068, allocations: 4 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01068, allocations: 0 / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.01094, allocations: 351.8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.01097, allocations: 12 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.0111, allocations: 11.98 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.01115, allocations: 19.95 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01117, allocations: 11 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.01123, 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.01123, allocations: 0 / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.01153, allocations: 56 kB / 0.5536 GB, free: 20.66 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 8.153e-05/0.01161, allocations: 96.39 kB / 0.5537 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.01184, allocations: 316.5 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.01184, allocations: 4 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.01193, allocations: 148.6 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01228, allocations: 88.06 kB / 0.5542 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.01792, allocations: 0.5705 MB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.01796, allocations: 80.33 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.01803, allocations: 25.94 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.01816, allocations: 111.3 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01816, allocations: 0 / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.004539/0.0227, allocations: 3.772 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.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3006237894296646]