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.0009189/0.0009189, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001078/0.001078, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9121/0.9121, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6706/0.6706, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.042e-06/1.042e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.189e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.001996/0.002018, allocations: 2.331 MB / 0.6996 GB, free: 8.031 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.002648, allocations: 0.6038 MB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.002725, allocations: 0 / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.00283, allocations: 27.72 kB / 0.7003 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.002974, allocations: 91.25 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.00314, allocations: 47.88 kB / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.003314, allocations: 262.6 kB / 0.7006 GB, free: 7.004 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.003433, allocations: 44.02 kB / 0.7007 GB, free: 6.969 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.003542, allocations: 135.7 kB / 0.7008 GB, free: 6.836 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.003688, allocations: 79.73 kB / 0.7009 GB, free: 6.758 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.003716, allocations: 16 kB / 0.7009 GB, free: 6.742 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.003736, allocations: 24 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.003762, allocations: 43.77 kB / 0.701 GB, free: 6.676 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.003818, allocations: 79.77 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.003975, allocations: 199.4 kB / 0.7012 GB, free: 6.402 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003978, allocations: 0 / 0.7012 GB, free: 6.402 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003979, allocations: 0 / 0.7012 GB, free: 6.402 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.003983, allocations: 0 / 0.7012 GB, free: 6.402 MB / 410.8 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.0005428/0.004526, allocations: 496.8 kB / 0.7017 GB, free: 5.871 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.00456, allocations: 16.03 kB / 0.7017 GB, free: 5.855 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.004608, allocations: 24.8 kB / 0.7017 GB, free: 5.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.004761, allocations: 174.4 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.004775, allocations: 8.609 kB / 0.7019 GB, free: 5.625 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.004801, allocations: 16.38 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005019, allocations: 198.5 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.005031, allocations: 7.891 kB / 0.7021 GB, free: 5.395 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005045, allocations: 7.984 kB / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.00505, allocations: 0 / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.005225, allocations: 150.2 kB / 0.7023 GB, free: 5.234 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.005704, allocations: 481.5 kB / 0.7027 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.005986, allocations: 184.1 kB / 0.7029 GB, free: 4.535 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.006075, allocations: 86.53 kB / 0.703 GB, free: 4.441 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.006083, allocations: 4 kB / 0.703 GB, free: 4.438 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.006272, allocations: 236.5 kB / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.006273, allocations: 0 / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007902/0.007063, allocations: 0.7027 MB / 0.7039 GB, free: 3.41 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.007096, allocations: 140.5 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.007206, allocations: 215 kB / 0.7043 GB, free: 3.023 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.007217, allocations: 29.7 kB / 0.7043 GB, free: 2.988 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.007261, allocations: 136.5 kB / 0.7044 GB, free: 2.852 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.007289, allocations: 71.42 kB / 0.7045 GB, free: 2.781 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.007338, allocations: 53.69 kB / 0.7045 GB, free: 2.723 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.259e-05/0.00737, allocations: 330.8 kB / 0.7048 GB, free: 2.391 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.007488, allocations: 149 kB / 0.705 GB, free: 2.227 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.007611, allocations: 221.3 kB / 0.7052 GB, free: 1.965 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.007809, allocations: 286.2 kB / 0.7055 GB, free: 1.645 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007811, allocations: 0 / 0.7055 GB, free: 1.645 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002962/0.008107, allocations: 391.9 kB / 0.7058 GB, free: 1.23 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.008135, allocations: 63.41 kB / 0.7059 GB, free: 1.156 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.00814, allocations: 4 kB / 0.7059 GB, free: 1.152 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008152, allocations: 0 / 0.7059 GB, free: 1.152 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.00826, allocations: 55.84 kB / 0.706 GB, free: 1.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.008267, allocations: 7.984 kB / 0.706 GB, free: 1.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.008353, allocations: 20.2 kB / 0.706 GB, free: 1.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.008365, allocations: 12 kB / 0.706 GB, free: 1.059 MB / 410.8 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.0001221/0.008487, allocations: 174.8 kB / 0.7062 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.008505, allocations: 19.91 kB / 0.7062 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.008534, allocations: 21.97 kB / 0.7062 GB, free: 0.832 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008536, allocations: 3.938 kB / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.00854, allocations: 7.938 kB / 0.7062 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008544, allocations: 3.984 kB / 0.7062 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.008936, allocations: 0.5406 MB / 0.7068 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008938, allocations: 0 / 0.7068 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.009049, allocations: 27.98 kB / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009051, allocations: 4 kB / 0.7068 GB, free: 200 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.009063, allocations: 11.92 kB / 0.7068 GB, free: 188 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.009065, allocations: 4 kB / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009066, allocations: 0 / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.009479, allocations: 0.4954 MB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.009504, allocations: 23.86 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.00953, allocations: 8.047 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.009609, allocations: 11.97 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.009667, allocations: 19.97 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.009679, allocations: 16 kB / 0.7074 GB, free: 15.57 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001175/0.009797, allocations: 160.4 kB / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009797, allocations: 0 / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001824/0.009979, allocations: 52 kB / 0.7076 GB, free: 15.37 MB / 426.8 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.01007, allocations: 111.2 kB / 0.7077 GB, free: 15.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.01039, allocations: 379.6 kB / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0104, allocations: 0 / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01053, allocations: 169.5 kB / 0.7082 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.01087, allocations: 67.92 kB / 0.7083 GB, free: 14.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.01159, allocations: 0.5992 MB / 0.7088 GB, free: 13.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.01166, allocations: 125.6 kB / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01171, allocations: 28.5 kB / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of SimCode: time 7.61e-07/0.01171, allocations: 0 / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of Templates: time 0.003197/0.01491, allocations: 2.941 MB / 0.7119 GB, free: 10.86 MB / 426.8 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: 5.669935857877135]