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.0007565/0.0007565, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009928/0.001749, 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.0007082/0.0007082, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008866/0.001595, 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 0.94/0.94, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.044, allocations: 53.66 MB / 243.3 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.8169/0.8169, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03447/0.8514, allocations: 21.05 MB / 0.5432 GB, free: 31.74 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 1.884e-06/1.884e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.91e-05, allocations: 14.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.0024/0.002419, allocations: 2.521 MB / 0.5471 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.003222, allocations: 0.6232 MB / 0.5477 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.003313, allocations: 3.938 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.757e-05/0.003391, allocations: 27.77 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.003534, allocations: 83.27 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.003679, allocations: 51.88 kB / 0.5479 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.003888, allocations: 270.5 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003997, allocations: 38.47 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.004181, allocations: 176.2 kB / 0.5483 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.004342, allocations: 95.7 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.00437, allocations: 16 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.004395, allocations: 16 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.004419, allocations: 27.88 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.004477, allocations: 63.88 kB / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.00464, allocations: 135.5 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.004651, allocations: 0 / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004652, allocations: 0 / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.004663, allocations: 0 / 0.5487 GB, free: 26.2 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.0005669/0.00523, allocations: 0.4976 MB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.005256, allocations: 8.031 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.005304, allocations: 28.91 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.005466, allocations: 175.1 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.005488, allocations: 12.61 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.005516, allocations: 12.38 kB / 0.5494 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.005705, allocations: 163.4 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.005722, allocations: 3.984 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.005736, allocations: 11.98 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005742, allocations: 4 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.005826, allocations: 76.7 kB / 0.5496 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.006272, allocations: 368.8 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.006454, allocations: 112.2 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.006487, allocations: 58.55 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.006497, allocations: 4 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.006635, allocations: 194.9 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.562e-06/0.006637, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005492/0.007186, allocations: 0.519 MB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.007231, allocations: 162.2 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.007324, allocations: 206.1 kB / 0.5512 GB, free: 23.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.007337, allocations: 33.7 kB / 0.5512 GB, free: 23.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.00737, allocations: 120.4 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.007402, allocations: 75.41 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.007452, allocations: 55.17 kB / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.007487, allocations: 330.8 kB / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.007535, allocations: 97 kB / 0.5519 GB, free: 22.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.007599, allocations: 183.7 kB / 0.552 GB, free: 22.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.007699, allocations: 211.8 kB / 0.5522 GB, free: 22.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.0077, allocations: 0 / 0.5522 GB, free: 22.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001525/0.007853, allocations: 262.1 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.00789, allocations: 63.39 kB / 0.5525 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007896, allocations: 2.656 kB / 0.5525 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.007906, allocations: 4 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.00807, allocations: 76.11 kB / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.008075, allocations: 0 / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.008151, allocations: 19.94 kB / 0.5526 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.008165, allocations: 11.92 kB / 0.5527 GB, free: 21.67 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.0001066/0.008271, allocations: 161.7 kB / 0.5528 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.008292, allocations: 27.97 kB / 0.5528 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.008319, allocations: 21.97 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.008321, allocations: 4 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.008323, allocations: 4 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.008328, allocations: 3.984 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.008571, allocations: 378.2 kB / 0.5532 GB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008573, allocations: 3.938 kB / 0.5532 GB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.008693, allocations: 39.97 kB / 0.5533 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.008714, allocations: 15.86 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008716, allocations: 4 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.008729, allocations: 11.36 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008731, allocations: 4 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008733, allocations: 4 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.008921, allocations: 355.8 kB / 0.5536 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.008943, allocations: 4 kB / 0.5536 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.009014, allocations: 15.98 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.009063, allocations: 15.97 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.009072, allocations: 7.938 kB / 0.5537 GB, free: 20.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.00912, allocations: 65.95 kB / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00912, allocations: 0 / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.00928, allocations: 52 kB / 0.5538 GB, free: 20.41 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.014e-05/0.00936, allocations: 100.3 kB / 0.5539 GB, free: 20.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.009528, allocations: 312.5 kB / 0.5542 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.009533, allocations: 0 / 0.5542 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.009606, allocations: 153.9 kB / 0.5543 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.009836, allocations: 90.48 kB / 0.5544 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.01511, allocations: 0.5472 MB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.01514, allocations: 84.31 kB / 0.555 GB, free: 19.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.3e-05/0.01522, allocations: 25.89 kB / 0.5551 GB, free: 18.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01535, allocations: 115.3 kB / 0.5552 GB, free: 18.88 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01535, allocations: 0 / 0.5552 GB, free: 18.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004698/0.02005, allocations: 3.789 MB / 0.5589 GB, free: 15.19 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.4422366125509143]