Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.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.001871/0.001871, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002114/0.002114, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 1.359/1.359, allocations: 292.9 MB / 0.5392 GB, free: 49.81 MB / 410.7 MB " [Timeout remaining time 178] 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.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.948e-05, allocations: 5.375 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.003563/0.003592, allocations: 3.048 MB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004705, allocations: 0.6974 MB / 0.7036 GB, free: 4.766 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.004829, allocations: 4 kB / 0.7036 GB, free: 4.762 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.004964, allocations: 43.56 kB / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.005218, allocations: 127 kB / 0.7037 GB, free: 4.594 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.005456, allocations: 87.78 kB / 0.7038 GB, free: 4.508 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.0058, allocations: 437.8 kB / 0.7043 GB, free: 4.078 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.005961, allocations: 62.02 kB / 0.7043 GB, free: 4.02 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.006187, allocations: 227.4 kB / 0.7045 GB, free: 3.797 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.00642, allocations: 123.6 kB / 0.7046 GB, free: 3.676 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.006469, allocations: 32 kB / 0.7047 GB, free: 3.645 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.006517, allocations: 36 kB / 0.7047 GB, free: 3.609 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.006565, allocations: 67.73 kB / 0.7048 GB, free: 3.543 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.006677, allocations: 119.7 kB / 0.7049 GB, free: 3.426 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.006995, allocations: 362.9 kB / 0.7052 GB, free: 3.07 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006998, allocations: 0 / 0.7052 GB, free: 3.07 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.007, allocations: 0 / 0.7052 GB, free: 3.07 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.007005, allocations: 0 / 0.7052 GB, free: 3.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000885/0.00789, allocations: 0.6154 MB / 0.7058 GB, free: 2.406 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.007925, allocations: 11.89 kB / 0.7058 GB, free: 2.395 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.008008, allocations: 36.7 kB / 0.7059 GB, free: 2.359 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.008248, allocations: 220.8 kB / 0.7061 GB, free: 2.121 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.008268, allocations: 12.88 kB / 0.7061 GB, free: 2.109 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.008312, allocations: 28.33 kB / 0.7061 GB, free: 2.082 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.00875, allocations: 314.1 kB / 0.7064 GB, free: 1.746 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.008769, allocations: 0 / 0.7064 GB, free: 1.746 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.008796, allocations: 12 kB / 0.7064 GB, free: 1.734 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.008802, allocations: 8 kB / 0.7065 GB, free: 1.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.009244, allocations: 248.2 kB / 0.7067 GB, free: 1.473 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009041/0.01015, allocations: 0.6504 MB / 0.7073 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.01068, allocations: 278.6 kB / 0.7076 GB, free: 0.4922 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.01093, allocations: 164.4 kB / 0.7077 GB, free: 324 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.01094, allocations: 7.938 kB / 0.7078 GB, free: 316 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.01138, allocations: 363.5 kB / 0.7081 GB, free: 15.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.01138, allocations: 0 / 0.7081 GB, free: 15.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002346/0.01372, allocations: 1.127 MB / 0.7092 GB, free: 14.68 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/0.0139, allocations: 221.6 kB / 0.7094 GB, free: 14.41 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.01422, allocations: 249.9 kB / 0.7096 GB, free: 14.16 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.01426, allocations: 41.69 kB / 0.7097 GB, free: 14.12 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.0144, allocations: 156.8 kB / 0.7098 GB, free: 13.96 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.01452, allocations: 115.1 kB / 0.7099 GB, free: 13.84 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.01466, allocations: 74.19 kB / 0.71 GB, free: 13.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.01488, allocations: 350.7 kB / 0.7104 GB, free: 13.41 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.01526, allocations: 219.8 kB / 0.7106 GB, free: 13.18 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.01574, allocations: 326.9 kB / 0.7109 GB, free: 12.79 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.01649, allocations: 458.1 kB / 0.7113 GB, free: 12.28 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01649, allocations: 3.938 kB / 0.7113 GB, free: 12.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001015/0.01751, allocations: 0.5808 MB / 0.7119 GB, free: 11.65 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/0.01759, allocations: 93.09 kB / 0.712 GB, free: 11.54 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.0176, allocations: 4 kB / 0.712 GB, free: 11.54 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.01762, allocations: 4 kB / 0.712 GB, free: 11.53 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.01797, allocations: 83.83 kB / 0.7121 GB, free: 11.45 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.01799, allocations: 7.984 kB / 0.7121 GB, free: 11.44 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.01826, allocations: 20.27 kB / 0.7121 GB, free: 11.42 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.01829, allocations: 20 kB / 0.7121 GB, free: 11.4 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0003402/0.01863, allocations: 245.7 kB / 0.7123 GB, free: 11.15 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.01869, allocations: 31.81 kB / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.01879, allocations: 34.95 kB / 0.7124 GB, free: 11.08 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01879, allocations: 4 kB / 0.7124 GB, free: 11.08 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0188, allocations: 0 / 0.7124 GB, free: 11.08 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.0188, allocations: 4 kB / 0.7124 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.02022, allocations: 0.8211 MB / 0.7132 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.02023, allocations: 4 kB / 0.7132 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.02054, allocations: 55.91 kB / 0.7133 GB, free: 10.14 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.02055, allocations: 4 kB / 0.7133 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.02058, allocations: 11.98 kB / 0.7133 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02058, allocations: 0 / 0.7133 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02058, allocations: 0 / 0.7133 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.0219, allocations: 0.7679 MB / 0.714 GB, free: 9.301 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.02204, allocations: 59.75 kB / 0.7141 GB, free: 9.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.0221, allocations: 16 kB / 0.7141 GB, free: 9.227 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.02232, allocations: 15.98 kB / 0.7141 GB, free: 9.211 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.02243, allocations: 27.95 kB / 0.7141 GB, free: 9.184 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.02246, allocations: 19.92 kB / 0.7142 GB, free: 9.164 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002399/0.0227, allocations: 181.2 kB / 0.7143 GB, free: 8.988 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.0227, allocations: 3.938 kB / 0.7143 GB, free: 8.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003795/0.02308, allocations: 88 kB / 0.7144 GB, free: 8.898 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.000197/0.02328, allocations: 128.9 kB / 0.7146 GB, free: 8.77 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.02425, allocations: 0.5881 MB / 0.7151 GB, free: 8.113 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02425, allocations: 0.6875 kB / 0.7151 GB, free: 8.113 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.02472, allocations: 318.1 kB / 0.7154 GB, free: 7.766 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.02528, allocations: 92.31 kB / 0.7155 GB, free: 7.672 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.02703, allocations: 0.8577 MB / 0.7164 GB, free: 6.777 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.02722, allocations: 168.2 kB / 0.7165 GB, free: 6.59 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.02737, allocations: 34.95 kB / 0.7165 GB, free: 6.555 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.02745, allocations: 32.5 kB / 0.7166 GB, free: 6.523 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.02745, allocations: 0 / 0.7166 GB, free: 6.523 MB / 426.8 MB Notification: Performance of Templates: time 0.2083/0.2358, allocations: 4.809 MB / 0.7213 GB, free: 35.46 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.170390514889732]