Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_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.0007632/0.0007632, allocations: 72.19 kB / 9.902 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001806, allocations: 443.8 kB / 10.34 MB, free: 360 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.0006985/0.0006985, allocations: 153.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001633, allocations: 467.6 kB / 11.69 MB, free: 2.48 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.9732/0.9732, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08098/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.56 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.7689/0.7689, allocations: 291.1 MB / 0.5226 GB, free: 52.76 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03043/0.7993, allocations: 21.03 MB / 0.5431 GB, free: 31.78 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.Cesium137.Cesium137_Talbot1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.277e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference): time 0.002966/0.002999, allocations: 1.939 MB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004106, allocations: 0.5768 MB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.004189, allocations: 4 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.46e-05/0.004264, allocations: 11.86 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.00458, allocations: 67.48 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004817, allocations: 67.77 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.005094, allocations: 160 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.005149, allocations: 9.953 kB / 0.5473 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.005386, allocations: 123.7 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.005665, allocations: 75.77 kB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.0057, allocations: 8 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.005729, allocations: 8 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.005786, allocations: 19.94 kB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.005848, allocations: 31.94 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.006011, allocations: 71.73 kB / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.006029, allocations: 0 / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006031, allocations: 3.938 kB / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.006048, allocations: 0 / 0.5476 GB, free: 27.19 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.0006999/0.006748, allocations: 392.2 kB / 0.548 GB, free: 26.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006788, allocations: 8.031 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.006847, allocations: 16.05 kB / 0.548 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.007052, allocations: 161.8 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.007082, allocations: 8.375 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.007115, allocations: 8.375 kB / 0.5482 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.007312, allocations: 77.02 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007322, allocations: 7.938 kB / 0.5482 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.007334, allocations: 0 / 0.5482 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007341, allocations: 4 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.007412, allocations: 19.98 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.00779, allocations: 201.8 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.007965, allocations: 118.9 kB / 0.5486 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.008009, allocations: 16.84 kB / 0.5486 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.008028, allocations: 4 kB / 0.5486 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.008206, allocations: 94.23 kB / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.226e-06/0.00821, allocations: 0 / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002177/0.008427, allocations: 89.59 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.008461, allocations: 55.39 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.008545, allocations: 146.6 kB / 0.549 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.008565, allocations: 29.7 kB / 0.549 GB, free: 25.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.008601, allocations: 100.1 kB / 0.5491 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.008634, allocations: 43.83 kB / 0.5491 GB, free: 25.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.008693, allocations: 41.64 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.008741, allocations: 326.8 kB / 0.5495 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.008807, allocations: 48.52 kB / 0.5495 GB, free: 25.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.008883, allocations: 161.1 kB / 0.5497 GB, free: 24.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.008975, allocations: 88.09 kB / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.008979, allocations: 0 / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001462/0.009125, allocations: 147.8 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.009164, allocations: 40.81 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.009169, allocations: 0 / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.009179, allocations: 0 / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.009322, allocations: 31.92 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.009326, allocations: 2.578 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.00942, allocations: 23.98 kB / 0.55 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.009432, allocations: 0 / 0.55 GB, free: 24.5 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 7.085e-05/0.009502, allocations: 120.6 kB / 0.5501 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.009526, allocations: 19.92 kB / 0.5501 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.009677, allocations: 102.4 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009679, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009681, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.009688, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.009796, allocations: 101.8 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.0098, allocations: 7.438 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.009923, allocations: 23.98 kB / 0.5503 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.009951, allocations: 7.953 kB / 0.5504 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.009957, allocations: 3.938 kB / 0.5504 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.009976, allocations: 7.984 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.009979, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.00998, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.01017, allocations: 142.6 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.0102, allocations: 7.938 kB / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.01028, allocations: 12.02 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.01033, allocations: 15.97 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01034, allocations: 4 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.01038, allocations: 43.92 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01038, allocations: 4 kB / 0.5506 GB, free: 23.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01059, allocations: 28 kB / 0.5506 GB, free: 23.8 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 0.0001034/0.01069, allocations: 84.36 kB / 0.5507 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.01086, allocations: 150.6 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.01088, allocations: 4 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.01094, allocations: 40.78 kB / 0.5509 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01115, allocations: 51.52 kB / 0.5509 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.01511, allocations: 362.2 kB / 0.5513 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.01515, allocations: 71.84 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.01525, allocations: 13.48 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.01541, allocations: 87.34 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01541, allocations: 4 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004467/0.01988, allocations: 2.738 MB / 0.5541 GB, free: 20.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2477970672771335]