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.0007028/0.0007028, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009607/0.001664, 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.0006919/0.0006919, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009061/0.001598, 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 1.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.168, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7189/0.7189, allocations: 291.1 MB / 0.5225 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03288/0.7518, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.174e-06/2.174e-06, allocations: 4 kB / 0.5444 GB, free: 30.42 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.346e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.003085/0.003109, allocations: 2.509 MB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004166, allocations: 0.6227 MB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00428, allocations: 0 / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.61e-05/0.004376, allocations: 31.66 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.004573, allocations: 83.28 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.004748, allocations: 59.78 kB / 0.5477 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.005028, allocations: 262.6 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.005157, allocations: 46.53 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.005407, allocations: 168.2 kB / 0.5481 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005607, allocations: 87.72 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.005643, allocations: 16 kB / 0.5482 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.347e-05/0.005677, allocations: 16 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.005711, allocations: 27.88 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.005788, allocations: 67.88 kB / 0.5483 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.006005, allocations: 143.5 kB / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.006021, allocations: 0 / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006022, allocations: 0 / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.006035, allocations: 0 / 0.5485 GB, free: 26.28 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.00073/0.006765, allocations: 0.5015 MB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006799, allocations: 8.031 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.006861, allocations: 20.92 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.007063, allocations: 183.1 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.00709, allocations: 12.61 kB / 0.5492 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.007121, allocations: 12.38 kB / 0.5492 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.007354, allocations: 155.5 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.007368, allocations: 0 / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.007382, allocations: 4 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.007389, allocations: 4 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.007496, allocations: 88.56 kB / 0.5494 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.008019, allocations: 364.9 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.008241, allocations: 104.2 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.008291, allocations: 58.55 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.008303, allocations: 4 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.008483, allocations: 200.3 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.008485, allocations: 0 / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007324/0.009218, allocations: 0.504 MB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.00926, allocations: 136.5 kB / 0.5507 GB, free: 23.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.009391, allocations: 206.1 kB / 0.5509 GB, free: 23.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.009408, allocations: 33.7 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.009452, allocations: 116.4 kB / 0.5511 GB, free: 23.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.009497, allocations: 71.41 kB / 0.5512 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.009566, allocations: 55.16 kB / 0.5512 GB, free: 23.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.009616, allocations: 338.8 kB / 0.5515 GB, free: 22.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.009694, allocations: 93 kB / 0.5516 GB, free: 22.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.009786, allocations: 177.3 kB / 0.5518 GB, free: 22.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.009932, allocations: 211.8 kB / 0.552 GB, free: 22.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009934, allocations: 3.938 kB / 0.552 GB, free: 22.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002352/0.01017, allocations: 263.6 kB / 0.5522 GB, free: 21.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.01021, allocations: 67.39 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01022, allocations: 2.656 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01023, allocations: 7.984 kB / 0.5523 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.01046, allocations: 63.91 kB / 0.5524 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01047, allocations: 11.86 kB / 0.5524 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01059, allocations: 19.94 kB / 0.5524 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01061, allocations: 8 kB / 0.5524 GB, free: 21.8 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.0001354/0.01074, allocations: 173.1 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.01078, allocations: 23.97 kB / 0.5526 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.01081, allocations: 21.97 kB / 0.5526 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01082, allocations: 0 / 0.5526 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01082, allocations: 4 kB / 0.5526 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01082, allocations: 3.984 kB / 0.5526 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.01119, allocations: 374.2 kB / 0.553 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01119, allocations: 7.938 kB / 0.553 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.01138, allocations: 39.97 kB / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.01141, allocations: 19.86 kB / 0.5531 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01141, allocations: 0 / 0.5531 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01143, allocations: 7.984 kB / 0.5531 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01143, allocations: 4 kB / 0.5531 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01143, allocations: 0 / 0.5531 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.01169, allocations: 347.8 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.01173, allocations: 8 kB / 0.5534 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01185, allocations: 15.98 kB / 0.5534 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.01191, allocations: 19.97 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01192, allocations: 7.938 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.01199, allocations: 69.94 kB / 0.5535 GB, free: 20.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 0 / 0.5535 GB, free: 20.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01228, allocations: 52 kB / 0.5536 GB, free: 20.54 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.0001007/0.01238, allocations: 96.34 kB / 0.5537 GB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.01261, allocations: 308.8 kB / 0.5539 GB, free: 20.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.01262, allocations: 4.125 kB / 0.554 GB, free: 20.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.01271, allocations: 144.7 kB / 0.5541 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.01307, allocations: 81.66 kB / 0.5542 GB, free: 19.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.021, allocations: 0.5821 MB / 0.5547 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.02107, allocations: 76.33 kB / 0.5548 GB, free: 19.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.02125, allocations: 29.97 kB / 0.5548 GB, free: 19.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.02146, allocations: 115.3 kB / 0.5549 GB, free: 19 MB / 410.7 MB Notification: Performance of SimCode: time 2.455e-06/0.02147, allocations: 0 / 0.5549 GB, free: 19 MB / 410.7 MB Notification: Performance of Templates: time 0.006996/0.02846, allocations: 3.775 MB / 0.5586 GB, free: 15.32 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.472398040816188]