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.001857/0.001857, 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.002067/0.002067, allocations: 173.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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.333/1.333, allocations: 293 MB / 0.5393 GB, free: 49.72 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.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.563e-06/1.563e-06, allocations: 0 / 0.6999 GB, free: 8.629 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.555e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.625 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference): time 0.002374/0.002399, allocations: 1.832 MB / 0.7017 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.003262, allocations: 0.5458 MB / 0.7023 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.003318, allocations: 0 / 0.7023 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.811e-05/0.003406, allocations: 11.86 kB / 0.7023 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.003744, allocations: 75.47 kB / 0.7024 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003898, allocations: 63.83 kB / 0.7024 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004082, allocations: 167.2 kB / 0.7026 GB, free: 5.914 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.004125, allocations: 5.312 kB / 0.7026 GB, free: 5.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.004248, allocations: 91.77 kB / 0.7027 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.004464, allocations: 79.77 kB / 0.7027 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.004495, allocations: 8 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.004517, allocations: 8 kB / 0.7028 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.004573, allocations: 31.89 kB / 0.7028 GB, free: 5.695 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.004633, allocations: 35.92 kB / 0.7028 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004771, allocations: 103.7 kB / 0.7029 GB, free: 5.559 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004773, allocations: 4 kB / 0.7029 GB, free: 5.555 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004774, allocations: 0 / 0.7029 GB, free: 5.555 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004778, allocations: 0 / 0.7029 GB, free: 5.555 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.0006991/0.005477, allocations: 399.4 kB / 0.7033 GB, free: 5.129 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005512, allocations: 15.89 kB / 0.7033 GB, free: 5.113 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.005565, allocations: 16.78 kB / 0.7033 GB, free: 5.098 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005737, allocations: 146.1 kB / 0.7035 GB, free: 4.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.005753, allocations: 4.375 kB / 0.7035 GB, free: 4.926 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.005786, allocations: 16.38 kB / 0.7035 GB, free: 4.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.006018, allocations: 98.17 kB / 0.7036 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006028, allocations: 3.938 kB / 0.7036 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006042, allocations: 0 / 0.7036 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.006047, allocations: 4 kB / 0.7036 GB, free: 4.801 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.006308, allocations: 79.92 kB / 0.7037 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.006728, allocations: 288.3 kB / 0.7039 GB, free: 4.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.007072, allocations: 134.4 kB / 0.7041 GB, free: 4.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.007211, allocations: 52.81 kB / 0.7041 GB, free: 4.215 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007227, allocations: 4 kB / 0.7041 GB, free: 4.211 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.00747, allocations: 107.3 kB / 0.7042 GB, free: 4.094 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.007471, allocations: 0 / 0.7042 GB, free: 4.094 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005364/0.008008, allocations: 205 kB / 0.7044 GB, free: 3.891 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.008034, allocations: 55.41 kB / 0.7045 GB, free: 3.824 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008148, allocations: 161 kB / 0.7046 GB, free: 3.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.008163, allocations: 25.7 kB / 0.7047 GB, free: 3.629 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.008212, allocations: 108.1 kB / 0.7048 GB, free: 3.52 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.008241, allocations: 39.64 kB / 0.7048 GB, free: 3.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.008306, allocations: 45.69 kB / 0.7048 GB, free: 3.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.008354, allocations: 318.8 kB / 0.7051 GB, free: 3.109 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.00853, allocations: 81.66 kB / 0.7052 GB, free: 3.023 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.008728, allocations: 213.3 kB / 0.7054 GB, free: 2.781 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.008997, allocations: 142.4 kB / 0.7056 GB, free: 2.633 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.009008, allocations: 7.875 kB / 0.7056 GB, free: 2.625 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003757/0.009384, allocations: 240.8 kB / 0.7058 GB, free: 2.371 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.009413, allocations: 32.67 kB / 0.7058 GB, free: 2.336 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.009417, allocations: 0 / 0.7058 GB, free: 2.336 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.009433, allocations: 4 kB / 0.7058 GB, free: 2.332 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.009599, allocations: 31.92 kB / 0.7059 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.009604, allocations: 0 / 0.7059 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.009769, allocations: 23.91 kB / 0.7059 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.009783, allocations: 4 kB / 0.7059 GB, free: 2.273 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 7.427e-05/0.009857, allocations: 126.3 kB / 0.706 GB, free: 2.141 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.009876, allocations: 11.91 kB / 0.706 GB, free: 2.129 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.01025, allocations: 170.3 kB / 0.7062 GB, free: 1.961 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01025, allocations: 8 kB / 0.7062 GB, free: 1.953 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01026, allocations: 3.938 kB / 0.7062 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01026, allocations: 0 / 0.7062 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.01037, allocations: 145.2 kB / 0.7063 GB, free: 1.777 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01038, allocations: 3.938 kB / 0.7063 GB, free: 1.773 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.01054, allocations: 27.98 kB / 0.7064 GB, free: 1.746 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01054, allocations: 4 kB / 0.7064 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01055, allocations: 0 / 0.7064 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01056, allocations: 0 / 0.7064 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01056, allocations: 0 / 0.7064 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.01106, allocations: 260.9 kB / 0.7066 GB, free: 1.469 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.01109, allocations: 19.81 kB / 0.7066 GB, free: 1.449 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.01111, allocations: 0 / 0.7066 GB, free: 1.449 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.01124, allocations: 15.98 kB / 0.7067 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.01131, allocations: 11.97 kB / 0.7067 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.01132, allocations: 4 kB / 0.7067 GB, free: 1.418 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.0114, allocations: 129.9 kB / 0.7068 GB, free: 1.293 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 0.7068 GB, free: 1.293 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002051/0.01161, allocations: 36.06 kB / 0.7068 GB, free: 1.258 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.0001017/0.01171, allocations: 99.25 kB / 0.7069 GB, free: 1.148 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.01211, allocations: 216.9 kB / 0.7071 GB, free: 0.918 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01211, allocations: 0 / 0.7071 GB, free: 0.918 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.01228, allocations: 63.88 kB / 0.7072 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.01257, allocations: 47.89 kB / 0.7072 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.01318, allocations: 305.4 kB / 0.7075 GB, free: 496 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.01324, allocations: 97.81 kB / 0.7076 GB, free: 380 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.01334, allocations: 25.5 kB / 0.7076 GB, free: 352 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01339, allocations: 20.5 kB / 0.7077 GB, free: 332 kB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01339, allocations: 4 kB / 0.7077 GB, free: 328 kB / 410.8 MB Notification: Performance of Templates: time 0.006537/0.01993, allocations: 2.492 MB / 0.7101 GB, free: 13.94 MB / 426.8 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: 6.4169792789034545]