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.001117/0.001117, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002482, 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.0008314/0.0008314, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001918, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.108, 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.7724/0.7724, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06426/0.8366, allocations: 21.05 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.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.573e-06/1.573e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.335e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.002058/0.002071, allocations: 2.542 MB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.002789, allocations: 0.6271 MB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.002869, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.002937, allocations: 31.66 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003083, allocations: 79.34 kB / 0.5478 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.003213, allocations: 51.86 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.003408, allocations: 266.6 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.003521, allocations: 46.47 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.003685, allocations: 172.2 kB / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.003827, allocations: 87.72 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.003854, allocations: 16 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.003877, allocations: 16 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.003901, allocations: 27.88 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.003956, allocations: 67.88 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.004112, allocations: 139.5 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.004125, allocations: 0 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004126, allocations: 0 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.00414, allocations: 0 / 0.5487 GB, free: 26.15 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.0005832/0.004724, allocations: 0.4937 MB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.004753, allocations: 11.89 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.004794, allocations: 32.84 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.004936, allocations: 175.1 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.004954, allocations: 12.61 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.004979, allocations: 12.38 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.005128, allocations: 167.1 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.005139, allocations: 0 / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005148, allocations: 4 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.005154, allocations: 4 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.00523, allocations: 76.64 kB / 0.5496 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.005598, allocations: 376.8 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.005757, allocations: 112.1 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.005792, allocations: 58.55 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.0058, allocations: 4 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.005938, allocations: 187.5 kB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.00594, allocations: 0 / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005546/0.006494, allocations: 0.5162 MB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.006534, allocations: 170.1 kB / 0.551 GB, free: 23.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.006622, allocations: 202.1 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006633, allocations: 33.7 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.006667, allocations: 116.4 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.0067, allocations: 71.41 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.006747, allocations: 55.16 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.006786, allocations: 342.8 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.006838, allocations: 93 kB / 0.5519 GB, free: 22.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.0069, allocations: 169.4 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.007001, allocations: 215.7 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007002, allocations: 0 / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001552/0.007158, allocations: 267.6 kB / 0.5525 GB, free: 21.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.007192, allocations: 67.39 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007197, allocations: 4 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.007207, allocations: 0 / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.007358, allocations: 67.89 kB / 0.5526 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007362, allocations: 3.938 kB / 0.5527 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.007436, allocations: 23.92 kB / 0.5527 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.007447, allocations: 11.98 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 9.588e-05/0.007543, allocations: 175.8 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.007561, allocations: 19.98 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.007589, allocations: 21.97 kB / 0.5529 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007592, allocations: 7.984 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007594, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007598, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.007825, allocations: 382.2 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007827, allocations: 3.938 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.007931, allocations: 43.91 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.007949, allocations: 23.84 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007951, allocations: 0 / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.007961, allocations: 4 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007962, allocations: 4 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007963, allocations: 0 / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.008134, allocations: 343.7 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.008155, allocations: 8 kB / 0.5537 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.008223, allocations: 15.98 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.008273, allocations: 23.97 kB / 0.5537 GB, free: 20.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.008281, allocations: 3.938 kB / 0.5537 GB, free: 20.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.008323, allocations: 69.94 kB / 0.5538 GB, free: 20.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008323, allocations: 0 / 0.5538 GB, free: 20.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.008476, allocations: 52 kB / 0.5538 GB, free: 20.37 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.101e-05/0.008537, allocations: 92.34 kB / 0.5539 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.008711, allocations: 317 kB / 0.5542 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.008718, allocations: 8.094 kB / 0.5542 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.008788, allocations: 141.9 kB / 0.5544 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.009013, allocations: 85.45 kB / 0.5545 GB, free: 19.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.01431, allocations: 0.5647 MB / 0.555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.01435, allocations: 80.31 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.01443, allocations: 25.98 kB / 0.5551 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01457, allocations: 119.3 kB / 0.5552 GB, free: 18.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01457, allocations: 0 / 0.5552 GB, free: 18.83 MB / 410.7 MB Notification: Performance of Templates: time 0.004999/0.01957, allocations: 3.765 MB / 0.5589 GB, free: 15.16 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.4914303179830313]