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.0009917/0.0009917, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002292, allocations: 455.9 kB / 10.35 MB, free: 348 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.001045/0.001045, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002438, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.09/1.09, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.199, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.8565/0.8565, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04459/0.9011, allocations: 21.04 MB / 0.5432 GB, free: 31.71 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 9.72e-07/9.72e-07, allocations: 0 / 0.5447 GB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.045e-06/9.017e-06, allocations: 2.312 kB / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226): time 0.001607/0.001616, allocations: 1.963 MB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.002199, allocations: 0.5686 MB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.002238, allocations: 3.938 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.002278, allocations: 11.91 kB / 0.5471 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.00246, allocations: 75.41 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.002574, allocations: 63.84 kB / 0.5473 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.002723, allocations: 168 kB / 0.5474 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.002765, allocations: 5.969 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.002904, allocations: 111.7 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.003082, allocations: 83.75 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.003104, allocations: 8 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.003121, allocations: 8 kB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.003169, allocations: 23.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.003213, allocations: 27.94 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003321, allocations: 75.75 kB / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.003332, allocations: 3.938 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003334, allocations: 0 / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.003348, allocations: 0 / 0.5478 GB, free: 27.07 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.0005417/0.00389, allocations: 388.1 kB / 0.5481 GB, free: 26.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.003923, allocations: 15.89 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.00396, allocations: 12.92 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.004107, allocations: 158.8 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.004133, allocations: 8.375 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.004154, allocations: 4.375 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.004279, allocations: 85.02 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004288, allocations: 3.938 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004297, allocations: 0 / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004304, allocations: 0 / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.004346, allocations: 31.98 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.004612, allocations: 193.8 kB / 0.5486 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.004724, allocations: 114.9 kB / 0.5487 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.004752, allocations: 20.86 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.004774, allocations: 7.984 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.004894, allocations: 90.17 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.004896, allocations: 0 / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001458/0.005042, allocations: 85.66 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.00507, allocations: 59.41 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.005152, allocations: 146.6 kB / 0.5491 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.005166, allocations: 33.7 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.005199, allocations: 96.28 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.005227, allocations: 47.61 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.005266, allocations: 41.59 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.0053, allocations: 326.8 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.005334, allocations: 44.52 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.138e-05/0.005385, allocations: 162.1 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.005442, allocations: 86.81 kB / 0.5499 GB, free: 24.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005444, allocations: 4 kB / 0.5499 GB, free: 24.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.172e-05/0.005535, allocations: 143.8 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.005561, allocations: 33.7 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.005564, allocations: 0 / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.005572, allocations: 0 / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.005676, allocations: 43.91 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005679, allocations: 0 / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.005741, allocations: 8 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.00575, allocations: 7.984 kB / 0.5502 GB, free: 24.38 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 4.614e-05/0.005796, allocations: 124.7 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.005809, allocations: 15.91 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.005905, allocations: 98.36 kB / 0.5504 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005907, allocations: 4 kB / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.005908, allocations: 0 / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005912, allocations: 0 / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.69e-05/0.005978, allocations: 101.8 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.00598, allocations: 3.312 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.006058, allocations: 23.98 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.006072, allocations: 7.953 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006074, allocations: 7.938 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.006085, allocations: 4 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006087, allocations: 3.984 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006087, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.006205, allocations: 134.6 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.00622, allocations: 3.938 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.006265, allocations: 15.98 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.006303, allocations: 11.97 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.006309, allocations: 4 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.006335, allocations: 43.16 kB / 0.5507 GB, free: 23.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006335, allocations: 0 / 0.5507 GB, free: 23.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001049/0.00644, allocations: 32 kB / 0.5508 GB, free: 23.7 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 5.473e-05/0.006495, allocations: 92.28 kB / 0.5509 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.006606, allocations: 150.6 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.006611, allocations: 0 / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.006657, allocations: 48.78 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.006784, allocations: 61.64 kB / 0.5511 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.009183, allocations: 338.2 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.374e-05/0.009207, allocations: 71.83 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.009265, allocations: 21.42 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/0.009363, allocations: 91.34 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009363, allocations: 0 / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003513/0.01288, allocations: 2.737 MB / 0.5543 GB, free: 20.11 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.5579769629985094]