Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.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.0007027/0.0007027, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001639, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007129/0.0007129, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002068, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9612/0.9612, allocations: 177.1 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0963/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7961/0.7961, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02656/0.8227, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Americium241.Americium241_Kathren2003_knee,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.579e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee): time 0.002124/0.00214, allocations: 1.935 MB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007851/0.002925, allocations: 0.5638 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.002974, allocations: 4 kB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.003026, allocations: 15.84 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.00325, allocations: 71.47 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.003399, allocations: 67.77 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.003612, allocations: 168 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.003647, allocations: 5.969 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.003803, allocations: 111.8 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.003996, allocations: 75.77 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.004022, allocations: 8 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.004044, allocations: 8 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.00409, allocations: 19.94 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.004138, allocations: 35.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.004261, allocations: 79.67 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.004276, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004277, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.004287, allocations: 3.938 kB / 0.5476 GB, free: 27.37 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.000521/0.004808, allocations: 384.2 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.004836, allocations: 8.031 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.004875, allocations: 12.92 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.005005, allocations: 158.8 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.005025, allocations: 8.375 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005045, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005171, allocations: 80.95 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.005178, allocations: 3.938 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.005187, allocations: 0 / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.005191, allocations: 4 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.622e-05/0.005238, allocations: 19.98 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.005512, allocations: 201.9 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.005637, allocations: 130.8 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.005669, allocations: 16.84 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.005684, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.005802, allocations: 86.11 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.005803, allocations: 0 / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001559/0.005959, allocations: 89.59 kB / 0.5488 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.005983, allocations: 51.41 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.006058, allocations: 150.6 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.006074, allocations: 33.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.006108, allocations: 100.1 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.006139, allocations: 43.61 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.006193, allocations: 41.86 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.006232, allocations: 322.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.006297, allocations: 52.45 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.006367, allocations: 158.1 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.006445, allocations: 82.94 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006447, allocations: 0 / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001257/0.006573, allocations: 151.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.006603, allocations: 37.7 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006608, allocations: 3.984 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.006617, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.006751, allocations: 27.98 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006753, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.006837, allocations: 19.98 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.006847, allocations: 3.375 kB / 0.55 GB, free: 24.69 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 5.713e-05/0.006905, allocations: 124.5 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.006924, allocations: 19.92 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.007047, allocations: 98.42 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.00705, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.007051, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007055, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.007145, allocations: 101.8 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007146, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.007248, allocations: 31.92 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.007264, allocations: 7.953 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.007268, allocations: 3.938 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.007281, allocations: 3.984 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007282, allocations: 4 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007283, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.007434, allocations: 142.7 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.007455, allocations: 7.938 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.007517, allocations: 11.98 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.007556, allocations: 11.97 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.007564, allocations: 4 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.636e-05/0.007601, allocations: 42.45 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007601, allocations: 4 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.007771, allocations: 32.02 kB / 0.5506 GB, free: 23.99 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 7.484e-05/0.007846, allocations: 84.42 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.007983, allocations: 142.6 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.007987, allocations: 7.938 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.008034, allocations: 32.84 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.008214, allocations: 62.66 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.01155, allocations: 358.2 kB / 0.5513 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.01158, allocations: 67.84 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.01166, allocations: 25.52 kB / 0.5513 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.01178, allocations: 91.33 kB / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01178, allocations: 0 / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of Templates: time 0.004583/0.01637, allocations: 2.73 MB / 0.5541 GB, free: 20.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3368506971746683]