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.001935/0.001935, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002016/0.002016, allocations: 219.5 kB / 22.25 MB, free: 3.559 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 9.605 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.467/1.467, allocations: 316.7 MB / 0.6144 GB, free: 93 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_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: 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.005302/0.005302, allocations: 73.86 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1837, allocations: 73.99 MB / 0.8472 GB, free: 4.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee): time 0.004342/0.188, allocations: 1.813 MB / 0.849 GB, free: 3.004 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1896, allocations: 0.5378 MB / 0.8495 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.1897, allocations: 4 kB / 0.8495 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.1898, allocations: 16.52 kB / 0.8495 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1903, allocations: 65.06 kB / 0.8496 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1905, allocations: 65.98 kB / 0.8497 GB, free: 2.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.1909, allocations: 163.3 kB / 0.8498 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1909, allocations: 6 kB / 0.8498 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1911, allocations: 71.77 kB / 0.8499 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1914, allocations: 84.27 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1915, allocations: 12.59 kB / 0.85 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.1915, allocations: 11.94 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.1916, allocations: 28.53 kB / 0.85 GB, free: 1.953 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1917, allocations: 51.78 kB / 0.8501 GB, free: 1.902 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1919, allocations: 96.41 kB / 0.8502 GB, free: 1.809 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1919, allocations: 0 / 0.8502 GB, free: 1.809 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1919, allocations: 0.6562 kB / 0.8502 GB, free: 1.809 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1919, allocations: 0 / 0.8502 GB, free: 1.809 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.001184/0.1931, allocations: 393.8 kB / 0.8505 GB, free: 1.391 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1932, allocations: 11.89 kB / 0.8505 GB, free: 1.379 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.1933, allocations: 16.84 kB / 0.8506 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1936, allocations: 152.4 kB / 0.8507 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1936, allocations: 12.36 kB / 0.8507 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.1937, allocations: 8.125 kB / 0.8507 GB, free: 1.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.1941, allocations: 106.5 kB / 0.8508 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1941, allocations: 0 / 0.8508 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1941, allocations: 0 / 0.8508 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1941, allocations: 2.5 kB / 0.8508 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.1945, allocations: 79.92 kB / 0.8509 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.1953, allocations: 284.3 kB / 0.8512 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.1959, allocations: 140.1 kB / 0.8513 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.1961, allocations: 52.81 kB / 0.8514 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1961, allocations: 0 / 0.8514 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1965, allocations: 116.2 kB / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1965, allocations: 0 / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008464/0.1974, allocations: 203.4 kB / 0.8517 GB, free: 156 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1975, allocations: 59.41 kB / 0.8517 GB, free: 84 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1977, allocations: 150.5 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.1978, allocations: 34.3 kB / 0.8519 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1979, allocations: 108.5 kB / 0.852 GB, free: 15.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.198, allocations: 47.64 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1981, allocations: 34.33 kB / 0.8521 GB, free: 15.69 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.1983, allocations: 331.3 kB / 0.8524 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.1986, allocations: 82.28 kB / 0.8525 GB, free: 15.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.199, allocations: 201.1 kB / 0.8527 GB, free: 15.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.1995, allocations: 139 kB / 0.8528 GB, free: 14.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1995, allocations: 4.688 kB / 0.8528 GB, free: 14.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007115/0.2002, allocations: 240.5 kB / 0.853 GB, free: 14.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.2005, allocations: 33.7 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2005, allocations: 0.7188 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2006, allocations: 0 / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2008, allocations: 32.55 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2008, allocations: 8.438 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.2011, allocations: 24.45 kB / 0.8531 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2011, allocations: 8.562 kB / 0.8531 GB, free: 14.54 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.0001643/0.2013, allocations: 122.8 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.2013, allocations: 8.484 kB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.202, allocations: 174.9 kB / 0.8534 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.202, allocations: 0.5 kB / 0.8534 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.202, allocations: 0.625 kB / 0.8534 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.202, allocations: 3.984 kB / 0.8534 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.2022, allocations: 153.7 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2022, allocations: 0.7188 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.2025, allocations: 24.7 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.2025, allocations: 7.938 kB / 0.8536 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.2025, allocations: 8.625 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2025, allocations: 1.625 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.2025, allocations: 3.984 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.2034, allocations: 252 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.2034, allocations: 11.92 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.2035, allocations: 9.906 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2037, allocations: 11.97 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2038, allocations: 15.98 kB / 0.8539 GB, free: 13.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2038, allocations: 3.984 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001709/0.204, allocations: 123 kB / 0.854 GB, free: 13.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.204, allocations: 0 / 0.854 GB, free: 13.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003748/0.2043, allocations: 32 kB / 0.8541 GB, free: 13.54 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.0001752/0.2045, allocations: 108.8 kB / 0.8542 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.2052, allocations: 213.6 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2052, allocations: 0 / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.2055, allocations: 68.2 kB / 0.8544 GB, free: 13.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.206, allocations: 42.25 kB / 0.8545 GB, free: 13.09 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.207, allocations: 321.5 kB / 0.8548 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2072, allocations: 107.4 kB / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.2073, allocations: 20.61 kB / 0.8549 GB, free: 12.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.2074, allocations: 15.44 kB / 0.8549 GB, free: 12.6 MB / 490.8 MB Notification: Performance of SimCode: time 3.5e-07/0.2074, allocations: 0.5938 kB / 0.8549 GB, free: 12.6 MB / 490.8 MB Notification: Performance of Templates: time 0.3465/0.5539, allocations: 2.622 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.359492153860629]