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.0007115/0.0007115, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009576/0.001669, 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.001673/0.001673, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00185/0.003522, 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 1.027/1.027, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07593/1.103, 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.7273/0.7273, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02413/0.7514, 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.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 2.866e-06/2.866e-06, allocations: 3.984 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.436e-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.Crotoxin.Crotoxin): time 0.003313/0.003337, allocations: 2.522 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.00449, allocations: 0.6194 MB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.004596, allocations: 4 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.775e-05/0.004683, allocations: 23.72 kB / 0.5475 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.004885, allocations: 83.27 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.005069, allocations: 63.8 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.005332, allocations: 258.6 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.005454, allocations: 42.53 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.005684, allocations: 176.1 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.005867, allocations: 83.78 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.0059, allocations: 16 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.005934, allocations: 20 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.005965, allocations: 23.88 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.006036, allocations: 63.88 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.006235, allocations: 147.5 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.006251, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006252, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.006268, allocations: 4 kB / 0.5485 GB, free: 26.44 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.0006854/0.006953, allocations: 0.4937 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.006987, allocations: 11.89 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.007045, allocations: 24.92 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.007244, allocations: 175.1 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.007272, allocations: 16.61 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.007301, allocations: 12.38 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.00752, allocations: 163.4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.007534, allocations: 3.938 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.007548, allocations: 4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.007554, allocations: 0 / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.007661, allocations: 76.7 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.008145, allocations: 365 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.008368, allocations: 120 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.008423, allocations: 58.69 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.008436, allocations: 7.938 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.008626, allocations: 188.4 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.008628, allocations: 0 / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000789/0.009417, allocations: 0.5106 MB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.00946, allocations: 148.4 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.009585, allocations: 198.1 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.009601, allocations: 33.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.009639, allocations: 116.4 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.009682, allocations: 79.39 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.009744, allocations: 51.17 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.009784, allocations: 338.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.00985, allocations: 93 kB / 0.5516 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.009936, allocations: 169.4 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01008, allocations: 211.7 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01008, allocations: 4 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002207/0.0103, allocations: 263.6 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.01034, allocations: 67.39 kB / 0.5523 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01035, allocations: 7.938 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01036, allocations: 7.188 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.01058, allocations: 63.89 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01059, allocations: 4 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01071, allocations: 19.92 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.01073, allocations: 12 kB / 0.5524 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.0001369/0.01086, allocations: 165.7 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.01089, allocations: 23.98 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.01095, allocations: 21.95 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01095, allocations: 4 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01095, allocations: 0 / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01096, allocations: 0 / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01129, allocations: 382.2 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01129, allocations: 3.938 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.01146, allocations: 39.97 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.01149, allocations: 23.84 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.0115, allocations: 3.938 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01151, allocations: 8 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01151, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01152, allocations: 3.125 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01177, allocations: 343.8 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.0118, allocations: 8 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01193, allocations: 19.67 kB / 0.5534 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.01198, allocations: 23.97 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.012, allocations: 7.922 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.01205, allocations: 65.95 kB / 0.5535 GB, free: 20.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01205, allocations: 0 / 0.5535 GB, free: 20.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.01232, allocations: 52 kB / 0.5536 GB, free: 20.7 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 9.027e-05/0.01241, allocations: 96.34 kB / 0.5537 GB, free: 20.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.01263, allocations: 312.9 kB / 0.554 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01263, allocations: 8 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.01271, 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.0003395/0.01305, allocations: 78.45 kB / 0.5542 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/0.02219, allocations: 0.5841 MB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.02228, allocations: 125.6 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.02254, allocations: 119.3 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.02254, allocations: 0 / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.003837/0.02638, allocations: 2.928 MB / 0.5579 GB, free: 16.23 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.188744451850653]