Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.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.002565/0.002565, 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.003192/0.003192, allocations: 169.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.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.385/1.385, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6999 GB, free: 8.484 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.82e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.48 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid): time 0.002354/0.002383, allocations: 1.822 MB / 0.7017 GB, free: 6.641 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.003277, allocations: 0.5499 MB / 0.7022 GB, free: 6.086 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.003348, allocations: 0 / 0.7022 GB, free: 6.086 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.003441, allocations: 15.84 kB / 0.7022 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.003789, allocations: 63.55 kB / 0.7023 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003966, allocations: 70.53 kB / 0.7024 GB, free: 5.941 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.004161, allocations: 171.2 kB / 0.7025 GB, free: 5.773 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.00421, allocations: 5.312 kB / 0.7025 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.00435, allocations: 91.72 kB / 0.7026 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.00457, allocations: 75.83 kB / 0.7027 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.004598, allocations: 8 kB / 0.7027 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/0.004622, allocations: 11.94 kB / 0.7027 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.004683, allocations: 39.77 kB / 0.7028 GB, free: 5.547 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.004746, allocations: 43.91 kB / 0.7028 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004884, allocations: 99.67 kB / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004888, allocations: 0 / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004889, allocations: 0 / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004893, allocations: 0 / 0.7029 GB, free: 5.406 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.0007086/0.005602, allocations: 399.5 kB / 0.7033 GB, free: 4.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.005638, allocations: 12.03 kB / 0.7033 GB, free: 4.969 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.005695, allocations: 20.84 kB / 0.7033 GB, free: 4.949 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.005872, allocations: 146.2 kB / 0.7034 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.005889, allocations: 4.375 kB / 0.7034 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.005918, allocations: 12.38 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.006167, allocations: 94.17 kB / 0.7035 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.006186, allocations: 7.875 kB / 0.7036 GB, free: 4.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.006201, allocations: 4 kB / 0.7036 GB, free: 4.656 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.006206, allocations: 4 kB / 0.7036 GB, free: 4.652 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.006473, allocations: 83.92 kB / 0.7036 GB, free: 4.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.006885, allocations: 276.4 kB / 0.7039 GB, free: 4.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.007242, allocations: 142.3 kB / 0.704 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.007386, allocations: 48.77 kB / 0.7041 GB, free: 4.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.007403, allocations: 4 kB / 0.7041 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.007647, allocations: 115.3 kB / 0.7042 GB, free: 3.941 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.007648, allocations: 0 / 0.7042 GB, free: 3.941 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005651/0.008213, allocations: 197.3 kB / 0.7044 GB, free: 3.746 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.008251, allocations: 59.39 kB / 0.7044 GB, free: 3.676 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.008373, allocations: 160.9 kB / 0.7046 GB, free: 3.512 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.008391, allocations: 29.7 kB / 0.7046 GB, free: 3.477 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.008441, allocations: 104.1 kB / 0.7047 GB, free: 3.371 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.008472, allocations: 39.64 kB / 0.7048 GB, free: 3.332 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.008539, allocations: 41.7 kB / 0.7048 GB, free: 3.285 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.008607, allocations: 318.8 kB / 0.7051 GB, free: 2.965 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.008775, allocations: 89.64 kB / 0.7052 GB, free: 2.871 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.008976, allocations: 202.1 kB / 0.7054 GB, free: 2.637 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.009261, allocations: 142.1 kB / 0.7055 GB, free: 2.492 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009264, allocations: 3.938 kB / 0.7055 GB, free: 2.488 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003748/0.009638, allocations: 240.8 kB / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.009664, allocations: 37.69 kB / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009668, allocations: 0 / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.009683, allocations: 4 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.009844, allocations: 27.92 kB / 0.7058 GB, free: 2.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009849, allocations: 0 / 0.7058 GB, free: 2.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.01002, allocations: 19.92 kB / 0.7058 GB, free: 2.141 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.01003, allocations: 4 kB / 0.7058 GB, free: 2.137 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.237e-05/0.01011, allocations: 134.4 kB / 0.706 GB, free: 1.996 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.01013, allocations: 11.91 kB / 0.706 GB, free: 1.984 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.0105, allocations: 170.4 kB / 0.7061 GB, free: 1.816 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0105, allocations: 4 kB / 0.7062 GB, free: 1.812 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01051, allocations: 224 / 0.7062 GB, free: 1.812 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01051, allocations: 0 / 0.7062 GB, free: 1.812 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.01062, allocations: 149.2 kB / 0.7063 GB, free: 1.637 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01062, allocations: 3.938 kB / 0.7063 GB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.01077, allocations: 31.97 kB / 0.7063 GB, free: 1.602 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01078, allocations: 0 / 0.7063 GB, free: 1.602 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01079, allocations: 3.938 kB / 0.7063 GB, free: 1.598 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01079, allocations: 4 kB / 0.7063 GB, free: 1.594 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01079, allocations: 4 kB / 0.7063 GB, free: 1.59 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.0113, allocations: 250.2 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.01133, allocations: 23.81 kB / 0.7066 GB, free: 1.305 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.01136, allocations: 0 / 0.7066 GB, free: 1.305 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01149, allocations: 11.98 kB / 0.7066 GB, free: 1.293 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.01155, allocations: 16.02 kB / 0.7066 GB, free: 1.277 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01156, allocations: 12.05 kB / 0.7066 GB, free: 1.266 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.01164, allocations: 123.1 kB / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 0 / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002053/0.01185, allocations: 32 kB / 0.7068 GB, free: 1.113 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.0001082/0.01195, allocations: 107.2 kB / 0.7069 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.01234, allocations: 205 kB / 0.7071 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01234, allocations: 0 / 0.7071 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.01251, allocations: 67.89 kB / 0.7071 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01279, allocations: 43.83 kB / 0.7072 GB, free: 0.668 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.01346, allocations: 317.4 kB / 0.7075 GB, free: 340 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.01352, allocations: 93.81 kB / 0.7076 GB, free: 228 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.01361, allocations: 25.47 kB / 0.7076 GB, free: 200 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.01367, allocations: 16.5 kB / 0.7076 GB, free: 184 kB / 410.8 MB Notification: Performance of SimCode: time 3.11e-07/0.01367, allocations: 0 / 0.7076 GB, free: 184 kB / 410.8 MB Notification: Performance of Templates: time 0.006641/0.02031, allocations: 2.497 MB / 0.7101 GB, free: 13.76 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.671596206957474]