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.0009795/0.0009795, allocations: 76.19 kB / 9.879 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.0023, allocations: 439.8 kB / 10.31 MB, free: 388 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.001108/0.001108, allocations: 157.2 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002506, allocations: 467.6 kB / 11.66 MB, free: 2.512 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 1.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08252/1.113, allocations: 53.66 MB / 243.2 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.7503/0.7503, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02999/0.7802, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.377e-06/1.067e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference): time 0.001491/0.001501, allocations: 1.945 MB / 0.5464 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005399/0.002041, allocations: 0.5676 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.002082, allocations: 4 kB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.002126, allocations: 19.8 kB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.002313, allocations: 63.55 kB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.002425, allocations: 67.77 kB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.002568, allocations: 164 kB / 0.5472 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.002604, allocations: 13.94 kB / 0.5473 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.002724, allocations: 119.6 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.002874, allocations: 67.84 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.002894, allocations: 8 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.002913, allocations: 8 kB / 0.5475 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.002952, allocations: 27.86 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.003001, allocations: 31.94 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.0031, allocations: 75.73 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.003113, allocations: 4 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003114, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.003123, allocations: 0 / 0.5476 GB, free: 27.39 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004465/0.00357, allocations: 384.2 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.003595, allocations: 8.031 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.003628, allocations: 8.938 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.003742, allocations: 158.8 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.003759, allocations: 12.36 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.003777, allocations: 12.38 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.003885, allocations: 73.03 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003892, allocations: 3.938 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.003899, allocations: 0 / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003904, allocations: 4 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.003944, allocations: 27.97 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.004162, allocations: 197.8 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.004257, allocations: 118.9 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.004281, allocations: 24.86 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004294, allocations: 4 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.42e-05/0.004388, allocations: 86.22 kB / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.004389, allocations: 0 / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001246/0.004514, allocations: 93.59 kB / 0.5487 GB, free: 26.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.004534, allocations: 51.41 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.004591, allocations: 150.6 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.004602, allocations: 29.7 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.004628, allocations: 96.08 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.004649, allocations: 47.61 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.004686, allocations: 41.64 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.786e-05/0.004714, allocations: 322.8 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.004748, allocations: 44.52 kB / 0.5495 GB, free: 25.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.004795, allocations: 162.1 kB / 0.5496 GB, free: 25.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.004851, allocations: 86.77 kB / 0.5497 GB, free: 24.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004852, allocations: 0 / 0.5497 GB, free: 24.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.172e-05/0.004944, allocations: 151.8 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.004968, allocations: 29.7 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004972, allocations: 3 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.004979, allocations: 8 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.005078, allocations: 35.92 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.005081, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.005145, allocations: 11.98 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.005153, allocations: 4 kB / 0.55 GB, free: 24.71 MB / 410.7 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 4.481e-05/0.005198, allocations: 124.6 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.005211, allocations: 15.92 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.972e-05/0.005311, allocations: 98.36 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005313, allocations: 4 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005314, allocations: 0 / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005317, allocations: 0 / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.354e-05/0.005381, allocations: 106 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005382, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.005451, allocations: 27.97 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.005464, allocations: 11.94 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005466, allocations: 7.938 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.005476, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005477, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005477, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.005594, allocations: 150.6 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.00561, allocations: 3.938 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.005656, allocations: 12 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.005689, allocations: 11.97 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.005694, allocations: 7.312 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.005719, allocations: 42.5 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005719, allocations: 0 / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001082/0.005827, allocations: 32 kB / 0.5506 GB, free: 24.02 MB / 410.7 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 5.971e-05/0.005887, allocations: 88.45 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.005998, allocations: 149.7 kB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.006001, allocations: 4 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.006038, allocations: 40.78 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.006171, allocations: 54.88 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.008625, allocations: 362.1 kB / 0.5513 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.227e-05/0.008647, allocations: 71.83 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.008706, allocations: 17.48 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-05/0.008805, allocations: 87.34 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008806, allocations: 0 / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of Templates: time 0.003451/0.01226, allocations: 2.736 MB / 0.5541 GB, free: 20.42 MB / 410.7 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: 3.174111564643681]