Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_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.002364/0.002364, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002686/0.002686, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.639/1.639, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.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.456/1.456, allocations: 292.9 MB / 0.5392 GB, free: 50.23 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.Radium226.Radium226_Arazi2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.739e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference): time 0.002931/0.002968, allocations: 1.807 MB / 0.7016 GB, free: 6.719 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003999, allocations: 0.5497 MB / 0.7022 GB, free: 6.164 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.004064, allocations: 3.938 kB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.004177, allocations: 11.86 kB / 0.7022 GB, free: 6.148 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.004568, allocations: 71.55 kB / 0.7023 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.00476, allocations: 66.52 kB / 0.7023 GB, free: 6.016 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.00499, allocations: 171.2 kB / 0.7025 GB, free: 5.848 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.005049, allocations: 9.297 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.0052, allocations: 95.78 kB / 0.7026 GB, free: 5.746 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.00544, allocations: 71.78 kB / 0.7026 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.005476, allocations: 8 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.005503, allocations: 8 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.005579, allocations: 35.83 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.00565, allocations: 43.89 kB / 0.7027 GB, free: 5.582 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005829, allocations: 107.6 kB / 0.7028 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.005834, allocations: 0 / 0.7028 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.924e-06/0.005836, allocations: 0 / 0.7028 GB, free: 5.477 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.005842, allocations: 0 / 0.7028 GB, free: 5.477 MB / 410.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.0008332/0.006675, allocations: 395.5 kB / 0.7032 GB, free: 5.055 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006718, allocations: 15.89 kB / 0.7032 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.006776, allocations: 16.78 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.006989, allocations: 146.2 kB / 0.7034 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.007014, allocations: 8.375 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.007046, allocations: 8.375 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.007304, allocations: 94.19 kB / 0.7035 GB, free: 4.742 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.007318, allocations: 7.938 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.007336, allocations: 0 / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007342, allocations: 7.938 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.007618, allocations: 83.91 kB / 0.7036 GB, free: 4.645 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.008051, allocations: 280.4 kB / 0.7039 GB, free: 4.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.008399, allocations: 134.4 kB / 0.704 GB, free: 4.199 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.008552, allocations: 56.81 kB / 0.704 GB, free: 4.141 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.008571, allocations: 7.938 kB / 0.704 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.008832, allocations: 107.3 kB / 0.7042 GB, free: 4.016 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.008834, allocations: 0 / 0.7042 GB, free: 4.016 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005447/0.009378, allocations: 193.6 kB / 0.7043 GB, free: 3.82 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.009411, allocations: 55.41 kB / 0.7044 GB, free: 3.754 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.009544, allocations: 161 kB / 0.7045 GB, free: 3.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.009564, allocations: 29.7 kB / 0.7046 GB, free: 3.555 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.009621, allocations: 112 kB / 0.7047 GB, free: 3.441 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.009647, allocations: 43.64 kB / 0.7047 GB, free: 3.398 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.009713, allocations: 33.7 kB / 0.7048 GB, free: 3.359 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.009775, allocations: 322.8 kB / 0.7051 GB, free: 3.035 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.009941, allocations: 81.66 kB / 0.7051 GB, free: 2.949 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.01013, allocations: 206.1 kB / 0.7053 GB, free: 2.711 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.01041, allocations: 142.1 kB / 0.7055 GB, free: 2.566 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01042, allocations: 3.938 kB / 0.7055 GB, free: 2.562 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003728/0.01079, allocations: 240.8 kB / 0.7057 GB, free: 2.309 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.01082, allocations: 29.7 kB / 0.7057 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01083, allocations: 3.938 kB / 0.7057 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01084, allocations: 4 kB / 0.7057 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.011, allocations: 31.97 kB / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01101, allocations: 0 / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.01117, allocations: 19.92 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01118, allocations: 4 kB / 0.7058 GB, free: 2.211 MB / 410.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 8.786e-05/0.01127, allocations: 130.4 kB / 0.7059 GB, free: 2.074 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.01129, allocations: 15.89 kB / 0.7059 GB, free: 2.059 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.0117, allocations: 170 kB / 0.7061 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0117, allocations: 4 kB / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.0117, allocations: 3.938 kB / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01171, allocations: 0 / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.01183, allocations: 153.2 kB / 0.7062 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01183, allocations: 4.156 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.01198, allocations: 23.98 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01199, allocations: 3.938 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.012, allocations: 3.984 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.012, allocations: 4 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01201, allocations: 3.938 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.01254, allocations: 254.2 kB / 0.7065 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.01257, allocations: 23.77 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.0126, allocations: 0 / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.01273, allocations: 15.98 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.0128, allocations: 16 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01282, allocations: 8 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.01289, allocations: 123.1 kB / 0.7067 GB, free: 1.215 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01289, allocations: 0 / 0.7067 GB, free: 1.215 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002075/0.0131, allocations: 32 kB / 0.7067 GB, free: 1.184 MB / 410.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.0001373/0.01324, allocations: 103.2 kB / 0.7068 GB, free: 1.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.01365, allocations: 213 kB / 0.707 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01366, allocations: 0 / 0.707 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.01382, allocations: 63.89 kB / 0.7071 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01413, allocations: 43.89 kB / 0.7071 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.01483, allocations: 301.5 kB / 0.7074 GB, free: 428 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.0149, allocations: 97.8 kB / 0.7075 GB, free: 312 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.01498, allocations: 21.48 kB / 0.7075 GB, free: 288 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.01504, allocations: 16.5 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of SimCode: time 4.91e-07/0.01504, allocations: 0 / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of Templates: time 0.006919/0.02196, allocations: 2.508 MB / 0.71 GB, free: 13.87 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226_Arazi2010_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.983790592988953]