Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_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.000934/0.000934, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002033/0.002967, 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.001379/0.001379, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00207/0.003449, 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.131, allocations: 53.67 MB / 243.3 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.8512/0.8512, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0404/0.8916, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.774e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference): time 0.003187/0.003214, allocations: 1.941 MB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004287, allocations: 0.5729 MB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.004362, allocations: 3.938 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.793e-05/0.00445, allocations: 7.922 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.004776, allocations: 75.41 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.004921, allocations: 67.83 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.005104, allocations: 160 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.005154, allocations: 9.953 kB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005309, allocations: 123.7 kB / 0.5475 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.005536, allocations: 75.78 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.00557, allocations: 8 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.005593, allocations: 4 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.005655, allocations: 23.92 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.005703, allocations: 27.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.005837, allocations: 79.69 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.005852, allocations: 0 / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.005854, allocations: 0 / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.005871, allocations: 0 / 0.5477 GB, free: 27.13 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.0006294/0.006501, allocations: 388.2 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006537, allocations: 8.031 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.00658, allocations: 16.92 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.00674, allocations: 158.8 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.00676, allocations: 4.375 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.006789, allocations: 16.36 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.006926, allocations: 77.02 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006936, allocations: 3.938 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006947, allocations: 4 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006954, allocations: 4 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.007001, allocations: 19.98 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.00732, allocations: 201.8 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.007437, allocations: 110.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.007468, allocations: 24.84 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.007491, allocations: 0 / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.007635, allocations: 94.22 kB / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.007637, allocations: 0 / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001761/0.007813, allocations: 89.59 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.007851, allocations: 59.62 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.007945, allocations: 142.6 kB / 0.5491 GB, free: 25.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.007963, allocations: 37.64 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.008, allocations: 96.06 kB / 0.5492 GB, free: 25.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.008032, allocations: 47.61 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.008079, allocations: 41.64 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.008126, allocations: 322.8 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.008164, allocations: 44.52 kB / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.008228, allocations: 158.1 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.0083, allocations: 95.44 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.008304, allocations: 3.375 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001096/0.008413, allocations: 143.8 kB / 0.55 GB, free: 24.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.008458, allocations: 37.69 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.008463, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008476, allocations: 4 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.008597, allocations: 31.92 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.008601, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.008667, allocations: 15.98 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.008676, allocations: 8 kB / 0.5501 GB, free: 24.44 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.568e-05/0.008731, allocations: 120.6 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.008746, allocations: 15.92 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.008859, allocations: 94.36 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008861, allocations: 4 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008862, allocations: 0 / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008867, allocations: 0 / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.282e-05/0.00895, allocations: 101.8 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008952, allocations: 0 / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.00903, allocations: 27.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.009046, allocations: 11.94 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.009048, allocations: 3.938 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.009062, allocations: 8 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009063, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009064, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009206, allocations: 139.2 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.009224, allocations: 7.938 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.009272, allocations: 11.98 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.009318, allocations: 15.97 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.009325, allocations: 4.078 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.009364, allocations: 42.45 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009364, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001135/0.009478, allocations: 32 kB / 0.5507 GB, free: 23.75 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 8.347e-05/0.009561, allocations: 99.33 kB / 0.5508 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.009708, allocations: 153.1 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.009715, allocations: 4 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.009773, allocations: 48.77 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.009927, allocations: 46.94 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.01249, allocations: 350.2 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.01252, allocations: 67.84 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.01258, allocations: 21.42 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.0127, allocations: 87.34 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.0127, allocations: 3.938 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00422/0.01692, allocations: 2.741 MB / 0.5543 GB, free: 20.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.459861864335835]