Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.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.002536/0.002536, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.00307/0.00307, allocations: 222.4 kB / 22.25 MB, free: 3.582 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.74/1.74, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.479/1.479, allocations: 316.7 MB / 0.6144 GB, free: 93.54 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.Americium241.Americium241_Kathren2003_wrist,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01284/0.01284, allocations: 77.19 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1872, allocations: 73.99 MB / 0.8472 GB, free: 5.094 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist): time 0.00394/0.1912, allocations: 1.82 MB / 0.849 GB, free: 3.273 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1924, allocations: 0.5419 MB / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.1925, allocations: 0 / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.28e-05/0.1926, allocations: 12.58 kB / 0.8496 GB, free: 2.719 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1929, allocations: 64.67 kB / 0.8496 GB, free: 2.656 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.1931, allocations: 73.17 kB / 0.8497 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1934, allocations: 159.8 kB / 0.8498 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1934, allocations: 5.906 kB / 0.8498 GB, free: 2.43 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1935, allocations: 75.69 kB / 0.8499 GB, free: 2.355 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1938, allocations: 88.36 kB / 0.85 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1938, allocations: 4.531 kB / 0.85 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.1939, allocations: 8 kB / 0.85 GB, free: 2.258 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.1939, allocations: 32.52 kB / 0.85 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.194, allocations: 43.8 kB / 0.8501 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1942, allocations: 108.1 kB / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1942, allocations: 0.5938 kB / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1942, allocations: 0 / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1942, allocations: 0.75 kB / 0.8502 GB, free: 2.078 MB / 474.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.0008224/0.195, allocations: 391.8 kB / 0.8506 GB, free: 1.664 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1951, allocations: 15.89 kB / 0.8506 GB, free: 1.648 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1951, allocations: 13.38 kB / 0.8506 GB, free: 1.637 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1954, allocations: 150.8 kB / 0.8507 GB, free: 1.465 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1954, allocations: 9.031 kB / 0.8507 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.1954, allocations: 12.78 kB / 0.8508 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.1957, allocations: 98.19 kB / 0.8509 GB, free: 1.344 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1957, allocations: 3.938 kB / 0.8509 GB, free: 1.34 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1957, allocations: 4.672 kB / 0.8509 GB, free: 1.336 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1957, allocations: 4 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.196, allocations: 79.23 kB / 0.8509 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.1965, allocations: 288.3 kB / 0.8512 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.1969, allocations: 126.5 kB / 0.8513 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1971, allocations: 52.81 kB / 0.8514 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1971, allocations: 4.781 kB / 0.8514 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.1974, allocations: 116.2 kB / 0.8515 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1974, allocations: 0 / 0.8515 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000605/0.198, allocations: 194.8 kB / 0.8517 GB, free: 444 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.198, allocations: 60 kB / 0.8517 GB, free: 372 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1982, allocations: 155.1 kB / 0.8519 GB, free: 208 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1983, allocations: 25.7 kB / 0.8519 GB, free: 176 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.1984, allocations: 112.8 kB / 0.852 GB, free: 60 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1984, allocations: 43.64 kB / 0.8521 GB, free: 16 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.1985, allocations: 38.31 kB / 0.8521 GB, free: 15.97 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1987, allocations: 327.4 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1989, allocations: 86.27 kB / 0.8525 GB, free: 15.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1992, allocations: 205 kB / 0.8527 GB, free: 15.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.1995, allocations: 143.5 kB / 0.8528 GB, free: 15.17 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1995, allocations: 0 / 0.8528 GB, free: 15.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004847/0.2, allocations: 240.7 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2001, allocations: 34.22 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2001, allocations: 0 / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2001, allocations: 4.625 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.2002, allocations: 32.64 kB / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2003, allocations: 0 / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.2004, allocations: 20.59 kB / 0.8531 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2004, allocations: 8.625 kB / 0.8532 GB, free: 14.82 MB / 490.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.0001294/0.2006, allocations: 134.7 kB / 0.8533 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.2006, allocations: 7.953 kB / 0.8533 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.2011, allocations: 179.8 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.2011, allocations: 4 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2011, allocations: 0 / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2011, allocations: 0 / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.2013, allocations: 153.8 kB / 0.8536 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2013, allocations: 0 / 0.8536 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2015, allocations: 33.47 kB / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2015, allocations: 0 / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2015, allocations: 0 / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2015, allocations: 0.5625 kB / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2015, allocations: 0 / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.2021, allocations: 262.2 kB / 0.8539 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.2022, allocations: 12.86 kB / 0.8539 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.2022, allocations: 4 kB / 0.8539 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2023, allocations: 14.02 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.2024, allocations: 15.97 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2024, allocations: 4 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2025, allocations: 121.9 kB / 0.8541 GB, free: 13.84 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2025, allocations: 0 / 0.8541 GB, free: 13.84 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002211/0.2027, allocations: 32 kB / 0.8541 GB, free: 13.81 MB / 490.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.0001264/0.2029, allocations: 107 kB / 0.8542 GB, free: 13.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.2033, allocations: 210.9 kB / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2033, allocations: 0 / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.2035, allocations: 64.39 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2039, allocations: 41.81 kB / 0.8545 GB, free: 13.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.2046, allocations: 334.6 kB / 0.8548 GB, free: 13.03 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2047, allocations: 98.73 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2048, allocations: 32.66 kB / 0.8549 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.2049, allocations: 20.19 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.2049, allocations: 0 / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of Templates: time 0.2808/0.4857, allocations: 2.617 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_wrist.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.52990881097503]