Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_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.002011/0.002011, 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.002143/0.002143, 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.586/1.586, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.392/1.392, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6999 GB, free: 9.617 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.055e-05, allocations: 2.281 kB / 0.6999 GB, free: 9.613 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference): time 0.003734/0.003764, allocations: 1.826 MB / 0.7017 GB, free: 7.777 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.005085, allocations: 0.5535 MB / 0.7022 GB, free: 7.219 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.00519, allocations: 0 / 0.7022 GB, free: 7.219 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.005299, allocations: 15.86 kB / 0.7022 GB, free: 7.203 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.005746, allocations: 59.55 kB / 0.7023 GB, free: 7.145 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.005979, allocations: 67.83 kB / 0.7024 GB, free: 7.078 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.006311, allocations: 167.2 kB / 0.7025 GB, free: 6.914 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.006368, allocations: 5.312 kB / 0.7025 GB, free: 6.91 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.006582, allocations: 95.72 kB / 0.7026 GB, free: 6.816 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.006859, allocations: 75.83 kB / 0.7027 GB, free: 6.742 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.006899, allocations: 4 kB / 0.7027 GB, free: 6.738 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.006931, allocations: 12 kB / 0.7027 GB, free: 6.727 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 9.966e-05/0.007031, allocations: 39.83 kB / 0.7027 GB, free: 6.688 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.007122, allocations: 39.91 kB / 0.7028 GB, free: 6.648 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.007327, allocations: 99.67 kB / 0.7029 GB, free: 6.551 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.007332, allocations: 3.984 kB / 0.7029 GB, free: 6.547 MB / 458.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007333, allocations: 0 / 0.7029 GB, free: 6.547 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.007339, allocations: 0 / 0.7029 GB, free: 6.547 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009761/0.008315, allocations: 395.5 kB / 0.7032 GB, free: 6.125 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.008359, allocations: 15.89 kB / 0.7033 GB, free: 6.109 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.008426, allocations: 12.84 kB / 0.7033 GB, free: 6.098 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.008687, allocations: 154.1 kB / 0.7034 GB, free: 5.922 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.008706, allocations: 4.375 kB / 0.7034 GB, free: 5.918 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.008745, allocations: 12.38 kB / 0.7034 GB, free: 5.906 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.009055, allocations: 94.17 kB / 0.7035 GB, free: 5.809 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.00907, allocations: 7.922 kB / 0.7035 GB, free: 5.801 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.00909, allocations: 11.94 kB / 0.7035 GB, free: 5.789 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.009095, allocations: 0 / 0.7035 GB, free: 5.789 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.009401, allocations: 83.86 kB / 0.7036 GB, free: 5.707 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.01001, allocations: 280.3 kB / 0.7039 GB, free: 5.402 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.01045, allocations: 138.4 kB / 0.704 GB, free: 5.258 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.01063, allocations: 48.81 kB / 0.7041 GB, free: 5.207 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01065, allocations: 4 kB / 0.7041 GB, free: 5.203 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.01097, allocations: 119.5 kB / 0.7042 GB, free: 5.074 MB / 458.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.01097, allocations: 0 / 0.7042 GB, free: 5.074 MB / 458.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006495/0.01162, allocations: 198.5 kB / 0.7044 GB, free: 4.875 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.01168, allocations: 51.41 kB / 0.7044 GB, free: 4.812 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01188, allocations: 155.4 kB / 0.7046 GB, free: 4.652 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.01191, allocations: 33.7 kB / 0.7046 GB, free: 4.613 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.012, allocations: 96.09 kB / 0.7047 GB, free: 4.516 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.01206, allocations: 43.64 kB / 0.7047 GB, free: 4.473 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.01214, allocations: 45.7 kB / 0.7048 GB, free: 4.422 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01232, allocations: 326.8 kB / 0.7051 GB, free: 4.094 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.01253, allocations: 77.66 kB / 0.7052 GB, free: 4.012 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.01284, allocations: 198.2 kB / 0.7054 GB, free: 3.781 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.01319, allocations: 149.1 kB / 0.7055 GB, free: 3.629 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.0132, allocations: 3.938 kB / 0.7055 GB, free: 3.625 MB / 458.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005103/0.01371, allocations: 236.9 kB / 0.7057 GB, free: 3.375 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.01377, allocations: 37.69 kB / 0.7058 GB, free: 3.332 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01377, allocations: 0 / 0.7058 GB, free: 3.332 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01379, allocations: 0 / 0.7058 GB, free: 3.332 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.01397, allocations: 27.92 kB / 0.7058 GB, free: 3.305 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01397, allocations: 0 / 0.7058 GB, free: 3.305 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.01416, allocations: 27.88 kB / 0.7058 GB, free: 3.277 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01417, allocations: 3.984 kB / 0.7058 GB, free: 3.273 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001298/0.0143, allocations: 129.7 kB / 0.7059 GB, free: 3.137 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.01433, allocations: 12.17 kB / 0.706 GB, free: 3.125 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.01482, allocations: 177.2 kB / 0.7061 GB, free: 2.949 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01482, allocations: 7.875 kB / 0.7061 GB, free: 2.941 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01482, allocations: 0 / 0.7061 GB, free: 2.941 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01483, allocations: 0 / 0.7061 GB, free: 2.941 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.01503, allocations: 149.2 kB / 0.7063 GB, free: 2.766 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.01503, allocations: 3.938 kB / 0.7063 GB, free: 2.762 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.0152, allocations: 23.98 kB / 0.7063 GB, free: 2.738 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.0152, allocations: 4 kB / 0.7063 GB, free: 2.734 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.01522, allocations: 7.938 kB / 0.7063 GB, free: 2.727 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.01523, allocations: 4 kB / 0.7063 GB, free: 2.723 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01523, allocations: 0 / 0.7063 GB, free: 2.723 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.0159, allocations: 254.2 kB / 0.7066 GB, free: 2.457 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.01593, allocations: 15.86 kB / 0.7066 GB, free: 2.441 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.01597, allocations: 8 kB / 0.7066 GB, free: 2.434 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.0161, allocations: 12.05 kB / 0.7066 GB, free: 2.422 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.01618, allocations: 19.97 kB / 0.7066 GB, free: 2.402 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.0162, allocations: 4 kB / 0.7066 GB, free: 2.398 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001309/0.01633, allocations: 121.9 kB / 0.7067 GB, free: 2.281 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01633, allocations: 0 / 0.7067 GB, free: 2.281 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002294/0.01656, allocations: 35.98 kB / 0.7068 GB, free: 2.246 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001583/0.01671, allocations: 99.25 kB / 0.7069 GB, free: 2.141 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.01723, allocations: 212.1 kB / 0.7071 GB, free: 1.918 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01723, allocations: 4 kB / 0.7071 GB, free: 1.914 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.01743, allocations: 63.88 kB / 0.7071 GB, free: 1.852 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.01776, allocations: 43.89 kB / 0.7072 GB, free: 1.809 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.01858, allocations: 305.5 kB / 0.7075 GB, free: 1.484 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01869, allocations: 93.86 kB / 0.7076 GB, free: 1.371 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.01881, allocations: 33.45 kB / 0.7076 GB, free: 1.34 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.01887, allocations: 16.5 kB / 0.7076 GB, free: 1.324 MB / 458.8 MB Notification: Performance of SimCode: time 5.11e-07/0.01887, allocations: 0 / 0.7076 GB, free: 1.324 MB / 458.8 MB Notification: Performance of Templates: time 0.006691/0.02556, allocations: 2.485 MB / 0.71 GB, free: 14.94 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.559476342983544]