Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.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.0007094/0.0007094, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.002509, 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.001203/0.001203, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002666, 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 1.034/1.034, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09589/1.13, 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.7883/0.7883, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03262/0.821, 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.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.286e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226): time 0.003084/0.003116, allocations: 1.956 MB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.004027, allocations: 0.573 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.004097, allocations: 0 / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.004163, allocations: 15.86 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.004436, allocations: 67.48 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.004622, allocations: 63.83 kB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.00484, allocations: 164 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.004887, allocations: 9.953 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.005125, allocations: 119.7 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.005338, allocations: 71.78 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.005365, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.005388, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.00544, allocations: 23.92 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.005495, allocations: 31.94 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.005637, allocations: 75.73 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.005654, allocations: 4 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005655, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.005668, allocations: 7.875 kB / 0.5476 GB, free: 27.36 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.0005457/0.006214, allocations: 384.2 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.006243, allocations: 11.89 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.006281, allocations: 8.938 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006413, allocations: 157.8 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.006432, allocations: 8.375 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.006452, allocations: 16.36 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.006577, allocations: 77.03 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.006585, allocations: 3.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.006594, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.006599, allocations: 4 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.00664, allocations: 23.91 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.006893, allocations: 193.9 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.007003, allocations: 118.9 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.00703, allocations: 20.86 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.007043, allocations: 4 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.007151, allocations: 98.16 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.007152, allocations: 4 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001459/0.007298, allocations: 85.66 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.007323, allocations: 51.41 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.00739, allocations: 150.6 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007403, allocations: 29.7 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.007435, allocations: 96.08 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.007459, allocations: 51.55 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.007502, allocations: 41.86 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.007539, allocations: 322.8 kB / 0.5495 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.007575, allocations: 51.58 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.007628, allocations: 169.1 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.007691, allocations: 76.17 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.007695, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.996e-05/0.007795, allocations: 151.8 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.007832, allocations: 36.67 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.007836, allocations: 3.938 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.007847, allocations: 4 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.007961, allocations: 27.98 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.007964, allocations: 0 / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.008033, allocations: 15.98 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.008041, allocations: 4.047 kB / 0.55 GB, free: 24.67 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.103e-05/0.008092, allocations: 124.6 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.008107, allocations: 19.92 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.008215, allocations: 94.42 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008218, allocations: 4 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.008221, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008225, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.00831, allocations: 109.7 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008311, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.00839, allocations: 19.98 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.008405, allocations: 11.95 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008408, allocations: 3.938 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.008419, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008421, allocations: 3.938 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008422, allocations: 0 / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.008563, allocations: 138.7 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.008584, allocations: 14.67 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.008633, allocations: 8 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.008674, allocations: 11.97 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.008681, allocations: 8 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.898e-05/0.00871, allocations: 38.5 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00871, allocations: 0 / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001296/0.008839, allocations: 32 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.58e-05/0.008915, allocations: 84.39 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.009039, allocations: 149.9 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.009043, allocations: 3.938 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.009083, allocations: 41.53 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.009236, allocations: 54.5 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.00249/0.01173, allocations: 362.4 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.479e-05/0.01175, allocations: 71.83 kB / 0.5514 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.01182, allocations: 17.48 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01192, allocations: 91.34 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01192, allocations: 0 / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of Templates: time 0.003904/0.01582, allocations: 2.727 MB / 0.5541 GB, free: 20.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2934383107349277]