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.000932/0.000932, 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.0009803/0.0009803, allocations: 165.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 1.003/1.003, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7076/0.7076, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.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.623e-06/1.623e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.884e-05, allocations: 10.22 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.006247/0.006276, allocations: 3.047 MB / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.007272, allocations: 0.7169 MB / 0.7011 GB, free: 6.543 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.007393, allocations: 4 kB / 0.7011 GB, free: 6.539 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.007527, allocations: 35.58 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.007765, allocations: 127 kB / 0.7012 GB, free: 6.379 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.007991, allocations: 83.89 kB / 0.7013 GB, free: 6.297 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.008295, allocations: 433.7 kB / 0.7017 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.00846, allocations: 66.06 kB / 0.7018 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.008614, allocations: 227.5 kB / 0.702 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.008798, allocations: 119.6 kB / 0.7021 GB, free: 5.469 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.008834, allocations: 32 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.008865, allocations: 36 kB / 0.7022 GB, free: 5.402 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.008896, allocations: 63.75 kB / 0.7022 GB, free: 5.34 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.008976, allocations: 123.7 kB / 0.7024 GB, free: 5.219 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.0092, allocations: 362.9 kB / 0.7027 GB, free: 4.863 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.009204, allocations: 0 / 0.7027 GB, free: 4.863 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009204, allocations: 0 / 0.7027 GB, free: 4.863 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00921, allocations: 4 kB / 0.7027 GB, free: 4.859 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.0006802/0.00989, allocations: 0.6037 MB / 0.7033 GB, free: 4.207 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.009927, allocations: 11.89 kB / 0.7033 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.009982, allocations: 36.7 kB / 0.7033 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.01017, allocations: 232.6 kB / 0.7036 GB, free: 3.91 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.01019, allocations: 16.88 kB / 0.7036 GB, free: 3.895 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.01022, allocations: 28.33 kB / 0.7036 GB, free: 3.867 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.01051, allocations: 306.2 kB / 0.7039 GB, free: 3.539 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01052, allocations: 4 kB / 0.7039 GB, free: 3.535 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.01054, allocations: 4 kB / 0.7039 GB, free: 3.531 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01054, allocations: 11.94 kB / 0.7039 GB, free: 3.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.01079, allocations: 260.2 kB / 0.7042 GB, free: 3.254 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.0114, allocations: 0.6427 MB / 0.7048 GB, free: 2.574 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.01175, allocations: 274 kB / 0.7051 GB, free: 2.285 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.01188, allocations: 156.4 kB / 0.7052 GB, free: 2.117 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.01189, allocations: 4 kB / 0.7052 GB, free: 2.113 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.01216, allocations: 363.5 kB / 0.7056 GB, free: 1.707 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.01216, allocations: 0 / 0.7056 GB, free: 1.707 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.00122/0.01338, allocations: 1.135 MB / 0.7067 GB, free: 488 kB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.01345, allocations: 217.6 kB / 0.7069 GB, free: 220 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.01363, allocations: 257.8 kB / 0.7071 GB, free: 15.96 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.01365, allocations: 37.7 kB / 0.7072 GB, free: 15.91 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01376, allocations: 156.9 kB / 0.7073 GB, free: 15.75 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.01383, allocations: 119 kB / 0.7074 GB, free: 15.64 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.01391, allocations: 70.19 kB / 0.7075 GB, free: 15.56 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.01403, allocations: 346.8 kB / 0.7078 GB, free: 15.21 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.01425, allocations: 219.9 kB / 0.708 GB, free: 14.98 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.01451, allocations: 330.9 kB / 0.7083 GB, free: 14.59 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.01494, allocations: 454.1 kB / 0.7088 GB, free: 14.08 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01494, allocations: 0 / 0.7088 GB, free: 14.08 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005637/0.0155, allocations: 0.5885 MB / 0.7093 GB, free: 13.45 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.01555, allocations: 85.11 kB / 0.7094 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01556, allocations: 4 kB / 0.7094 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01558, allocations: 4 kB / 0.7094 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01576, allocations: 88.22 kB / 0.7095 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01577, allocations: 7.938 kB / 0.7095 GB, free: 13.24 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01589, allocations: 23.98 kB / 0.7095 GB, free: 13.22 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.01591, allocations: 16 kB / 0.7096 GB, free: 13.2 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.000236/0.01614, allocations: 242.4 kB / 0.7098 GB, free: 12.95 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.01617, allocations: 35.8 kB / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01621, allocations: 30.97 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01622, allocations: 4 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01622, allocations: 0 / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01623, allocations: 3.984 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.01703, allocations: 0.825 MB / 0.7107 GB, free: 11.99 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01703, allocations: 0 / 0.7107 GB, free: 11.99 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.01718, allocations: 55.89 kB / 0.7107 GB, free: 11.94 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01719, allocations: 4 kB / 0.7107 GB, free: 11.93 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01721, allocations: 12 kB / 0.7107 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.01721, allocations: 4 kB / 0.7107 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01721, allocations: 0 / 0.7107 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.01789, allocations: 0.7756 MB / 0.7115 GB, free: 11.09 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.01797, allocations: 51.78 kB / 0.7116 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.01801, allocations: 11.98 kB / 0.7116 GB, free: 11.03 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.0181, allocations: 23.92 kB / 0.7116 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.01817, allocations: 31.95 kB / 0.7116 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01819, allocations: 19.94 kB / 0.7116 GB, free: 10.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001136/0.0183, allocations: 181.2 kB / 0.7118 GB, free: 10.78 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0183, allocations: 0 / 0.7118 GB, free: 10.78 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002297/0.01853, allocations: 88 kB / 0.7119 GB, free: 10.69 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.000134/0.01867, allocations: 124.9 kB / 0.712 GB, free: 10.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.01916, allocations: 0.5885 MB / 0.7126 GB, free: 9.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01917, allocations: 0 / 0.7126 GB, free: 9.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01938, allocations: 314 kB / 0.7129 GB, free: 9.566 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01973, allocations: 98.33 kB / 0.713 GB, free: 9.473 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02075, allocations: 0.8829 MB / 0.7138 GB, free: 8.547 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.739e-05/0.02085, allocations: 164.2 kB / 0.714 GB, free: 8.363 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.02091, allocations: 36.48 kB / 0.714 GB, free: 8.328 MB / 426.8 MB Notification: Performance of SimCode: time 4.11e-07/0.02091, allocations: 3.938 kB / 0.714 GB, free: 8.324 MB / 426.8 MB Notification: Performance of Templates: time 0.004186/0.0251, allocations: 4.361 MB / 0.7183 GB, free: 3.996 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.984200424514711]