Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_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.0007578/0.0007578, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009805/0.001738, allocations: 440 kB / 10.41 MB, free: 284 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.0009836/0.0009836, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002147, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.974/0.974, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.075, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.749/0.749, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02736/0.7763, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.002e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference): time 0.002668/0.002688, allocations: 1.941 MB / 0.5466 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.003461, allocations: 0.5832 MB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.003518, allocations: 0 / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.003576, allocations: 11.86 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.003822, allocations: 71.53 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.003988, allocations: 63.77 kB / 0.5473 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004193, allocations: 168 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.004234, allocations: 13.89 kB / 0.5475 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.004497, allocations: 107.8 kB / 0.5476 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.004697, allocations: 79.83 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.004719, allocations: 4 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.00474, allocations: 8 kB / 0.5477 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.004786, allocations: 27.88 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.004825, allocations: 27.94 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.00494, allocations: 79.67 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.004951, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004952, allocations: 4 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.00496, allocations: 0 / 0.5478 GB, free: 26.86 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.000469/0.005429, allocations: 388.2 kB / 0.5482 GB, free: 26.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.005458, allocations: 19.84 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.005496, allocations: 12.92 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.005613, allocations: 158.8 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005628, allocations: 4.375 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005648, allocations: 8.375 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005756, allocations: 76.95 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.005761, allocations: 3.938 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005769, allocations: 8 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005773, allocations: 0 / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.005814, allocations: 23.98 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.00603, allocations: 197 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.006125, allocations: 114.9 kB / 0.5488 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.00616, allocations: 24.84 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.006172, allocations: 3.938 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-05/0.006268, allocations: 86.23 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.006269, allocations: 4 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001275/0.006397, allocations: 85.66 kB / 0.549 GB, free: 25.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.006415, allocations: 63.33 kB / 0.549 GB, free: 25.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.00647, allocations: 146.6 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006481, allocations: 29.7 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.006506, allocations: 96.06 kB / 0.5493 GB, free: 25.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006524, allocations: 43.61 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.006561, allocations: 45.64 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.826e-05/0.006589, allocations: 322.8 kB / 0.5497 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.00662, allocations: 48.52 kB / 0.5497 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.006666, allocations: 158.1 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.006722, allocations: 87.28 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006723, allocations: 0 / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.356e-05/0.006807, allocations: 151.8 kB / 0.5501 GB, free: 24.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.006829, allocations: 33.69 kB / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.006833, allocations: 0 / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.006841, allocations: 0 / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.006938, allocations: 35.98 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006941, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.007005, allocations: 15.98 kB / 0.5502 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.007013, allocations: 8 kB / 0.5502 GB, free: 24.16 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.65e-05/0.00706, allocations: 124.5 kB / 0.5503 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.007078, allocations: 15.92 kB / 0.5503 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.007173, allocations: 91.14 kB / 0.5504 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007174, allocations: 4 kB / 0.5504 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007176, allocations: 3.938 kB / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007179, allocations: 0 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.454e-05/0.007243, allocations: 101.8 kB / 0.5505 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007244, allocations: 4 kB / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.007311, allocations: 27.92 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.007323, allocations: 7.953 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007325, allocations: 7.922 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.007335, allocations: 4 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007336, allocations: 3.25 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007337, allocations: 0 / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007456, allocations: 142.8 kB / 0.5507 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.007472, allocations: 3.938 kB / 0.5507 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.007518, allocations: 20.02 kB / 0.5507 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.007551, allocations: 11.97 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.007558, allocations: 4 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.484e-05/0.007583, allocations: 43.11 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007583, allocations: 0 / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001091/0.007692, allocations: 32 kB / 0.5508 GB, free: 23.47 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 6.411e-05/0.007756, allocations: 92.3 kB / 0.5509 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.007864, allocations: 152.5 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.00787, allocations: 4 kB / 0.5511 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.007918, allocations: 40.83 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.008099, allocations: 372.5 kB / 0.5515 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.01054, allocations: 361.6 kB / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.021e-05/0.01056, allocations: 75.83 kB / 0.5519 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.01061, allocations: 13.48 kB / 0.5519 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.01071, allocations: 87.34 kB / 0.552 GB, free: 22.16 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01071, allocations: 4 kB / 0.552 GB, free: 22.15 MB / 410.7 MB Notification: Performance of Templates: time 0.00343/0.01414, allocations: 2.752 MB / 0.5547 GB, free: 19.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.249130896292627]