Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.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.002437/0.002437, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.005863/0.005863, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.391/1.391, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.298e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate): time 0.00265/0.002683, allocations: 1.83 MB / 0.7017 GB, free: 6.727 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003747, allocations: 0.5537 MB / 0.7022 GB, free: 6.168 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.003811, allocations: 0 / 0.7022 GB, free: 6.168 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.003915, allocations: 15.86 kB / 0.7022 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.004277, allocations: 59.55 kB / 0.7023 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.004441, allocations: 70.95 kB / 0.7024 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.004648, allocations: 171.2 kB / 0.7025 GB, free: 5.859 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.004698, allocations: 5.312 kB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.00483, allocations: 91.72 kB / 0.7026 GB, free: 5.766 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.005065, allocations: 75.83 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.005094, allocations: 4 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.005127, allocations: 8 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.005192, allocations: 39.83 kB / 0.7028 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.005257, allocations: 43.91 kB / 0.7028 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.005407, allocations: 95.69 kB / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00541, allocations: 0 / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.005412, allocations: 3.984 kB / 0.7029 GB, free: 5.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.005416, allocations: 3.938 kB / 0.7029 GB, free: 5.496 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.0007731/0.006189, allocations: 395.5 kB / 0.7033 GB, free: 5.074 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.006222, allocations: 12.03 kB / 0.7033 GB, free: 5.062 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.006276, allocations: 16.84 kB / 0.7033 GB, free: 5.047 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.006441, allocations: 154.1 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.006458, allocations: 4.375 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.006486, allocations: 8.375 kB / 0.7035 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.006721, allocations: 94.17 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.006731, allocations: 3.938 kB / 0.7035 GB, free: 4.758 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.006746, allocations: 8 kB / 0.7036 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.00675, allocations: 0 / 0.7036 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.007015, allocations: 83.92 kB / 0.7036 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.007436, allocations: 276.3 kB / 0.7039 GB, free: 4.367 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.00778, allocations: 146.3 kB / 0.704 GB, free: 4.215 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.007917, allocations: 48.81 kB / 0.7041 GB, free: 4.164 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.007933, allocations: 4 kB / 0.7041 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.008186, allocations: 115.3 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.008187, allocations: 0 / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005208/0.008708, allocations: 201.6 kB / 0.7044 GB, free: 3.832 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.008737, allocations: 55.39 kB / 0.7044 GB, free: 3.766 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.008852, allocations: 155.6 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008869, allocations: 33.7 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.008919, allocations: 100.1 kB / 0.7047 GB, free: 3.465 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.008955, allocations: 39.64 kB / 0.7048 GB, free: 3.426 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.009018, allocations: 41.7 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.009084, allocations: 322.8 kB / 0.7051 GB, free: 3.055 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.009254, allocations: 85.64 kB / 0.7052 GB, free: 2.965 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.009454, allocations: 202.1 kB / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.009724, allocations: 142.4 kB / 0.7055 GB, free: 2.582 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009727, allocations: 3.938 kB / 0.7055 GB, free: 2.578 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003915/0.01012, allocations: 239.6 kB / 0.7057 GB, free: 2.328 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.01014, allocations: 33.69 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01015, allocations: 8 kB / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01016, allocations: 0 / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01032, allocations: 27.92 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01033, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.01049, allocations: 23.92 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01051, allocations: 3.984 kB / 0.7058 GB, free: 2.227 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.357e-05/0.01058, allocations: 121.8 kB / 0.706 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.0106, allocations: 27.88 kB / 0.706 GB, free: 2.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.01099, allocations: 178.2 kB / 0.7062 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01099, allocations: 0 / 0.7062 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.011, allocations: 224 / 0.7062 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.011, allocations: 0 / 0.7062 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01112, allocations: 153.2 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01112, allocations: 3.938 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.01127, allocations: 27.98 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01127, allocations: 0 / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.01128, allocations: 0 / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01129, allocations: 8 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01129, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.01179, allocations: 248.9 kB / 0.7066 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.01182, allocations: 23.81 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01185, allocations: 0 / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01197, allocations: 11.98 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.01204, allocations: 15.97 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01205, allocations: 4 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.01212, allocations: 129.4 kB / 0.7068 GB, free: 1.238 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01212, allocations: 0 / 0.7068 GB, free: 1.238 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001965/0.01232, allocations: 32 kB / 0.7068 GB, free: 1.207 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 9.832e-05/0.01241, allocations: 107.2 kB / 0.7069 GB, free: 1.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.01281, allocations: 209 kB / 0.7071 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01281, allocations: 0 / 0.7071 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.01297, allocations: 67.89 kB / 0.7072 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01324, allocations: 43.89 kB / 0.7072 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.01385, allocations: 313.5 kB / 0.7075 GB, free: 436 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.01391, allocations: 89.81 kB / 0.7076 GB, free: 328 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.01399, allocations: 29.47 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.01405, allocations: 16.5 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.01405, allocations: 3.938 kB / 0.7076 GB, free: 276 kB / 410.8 MB Notification: Performance of Templates: time 0.006424/0.02047, allocations: 2.499 MB / 0.7101 GB, free: 13.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.762732153059915]