Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.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.002392/0.002392, 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.003196/0.003196, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.601/1.601, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.363/1.363, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6999 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.243e-05, allocations: 5.234 kB / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite): time 0.002259/0.002281, allocations: 1.834 MB / 0.7017 GB, free: 6.758 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.00312, allocations: 0.5499 MB / 0.7022 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.003177, allocations: 0 / 0.7022 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.003271, allocations: 19.84 kB / 0.7022 GB, free: 6.184 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.003602, allocations: 55.56 kB / 0.7023 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.003772, allocations: 71.77 kB / 0.7024 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.003962, allocations: 171.2 kB / 0.7025 GB, free: 5.891 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.004012, allocations: 5.312 kB / 0.7025 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.00413, allocations: 87.78 kB / 0.7026 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.004347, allocations: 79.78 kB / 0.7027 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.004373, allocations: 4 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.004398, allocations: 12 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.004462, allocations: 39.83 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.004521, allocations: 39.89 kB / 0.7028 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004663, allocations: 95.69 kB / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004665, allocations: 0 / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004666, allocations: 0 / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.004671, allocations: 4 kB / 0.7029 GB, free: 5.531 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.0006844/0.005355, allocations: 399.4 kB / 0.7033 GB, free: 5.105 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.005387, allocations: 12.03 kB / 0.7033 GB, free: 5.094 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.005437, allocations: 16.83 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005611, allocations: 150.2 kB / 0.7034 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.005627, allocations: 4.375 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.005654, allocations: 12.31 kB / 0.7034 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.005893, allocations: 94.19 kB / 0.7035 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005903, allocations: 7.922 kB / 0.7035 GB, free: 4.785 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.005916, allocations: 4 kB / 0.7035 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.00592, allocations: 0 / 0.7035 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.006181, allocations: 87.86 kB / 0.7036 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.00659, allocations: 276.4 kB / 0.7039 GB, free: 4.395 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.006931, allocations: 142.3 kB / 0.704 GB, free: 4.246 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.007068, allocations: 44.83 kB / 0.7041 GB, free: 4.199 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007084, allocations: 8 kB / 0.7041 GB, free: 4.191 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.007314, allocations: 123.2 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.007315, allocations: 0 / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005285/0.007843, allocations: 197.4 kB / 0.7044 GB, free: 3.863 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.007869, allocations: 51.41 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.007979, allocations: 155.6 kB / 0.7046 GB, free: 3.641 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.007997, allocations: 37.69 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.008044, allocations: 100.1 kB / 0.7047 GB, free: 3.496 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.008072, allocations: 39.64 kB / 0.7048 GB, free: 3.457 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.008135, allocations: 45.7 kB / 0.7048 GB, free: 3.406 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.008178, allocations: 322.8 kB / 0.7051 GB, free: 3.082 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.00834, allocations: 81.59 kB / 0.7052 GB, free: 2.996 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.008538, allocations: 206.1 kB / 0.7054 GB, free: 2.758 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.008818, allocations: 138.5 kB / 0.7055 GB, free: 2.613 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00882, allocations: 3.938 kB / 0.7055 GB, free: 2.609 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003747/0.009195, allocations: 243.8 kB / 0.7057 GB, free: 2.355 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.009217, allocations: 37.69 kB / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.009221, allocations: 0 / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.009236, allocations: 0 / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.009399, allocations: 27.92 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009404, allocations: 0 / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.009565, allocations: 23.92 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.009582, allocations: 4 kB / 0.7058 GB, free: 2.258 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.293e-05/0.009654, allocations: 130.4 kB / 0.706 GB, free: 2.121 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.009674, allocations: 15.91 kB / 0.706 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.01004, allocations: 170.3 kB / 0.7061 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01004, allocations: 4.031 kB / 0.7061 GB, free: 1.934 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01005, allocations: 0 / 0.7061 GB, free: 1.934 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01005, allocations: 224 / 0.7061 GB, free: 1.934 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.01016, allocations: 145.2 kB / 0.7063 GB, free: 1.762 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01016, allocations: 11.81 kB / 0.7063 GB, free: 1.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.01032, allocations: 31.97 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01032, allocations: 4 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01034, allocations: 0 / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01034, allocations: 4 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01034, allocations: 0 / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.01083, allocations: 248.9 kB / 0.7066 GB, free: 1.449 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01085, allocations: 23.81 kB / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.01088, allocations: 0 / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01101, allocations: 16.05 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.01107, allocations: 15.97 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01108, allocations: 4 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.257e-05/0.01115, allocations: 125.8 kB / 0.7067 GB, free: 1.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01115, allocations: 0 / 0.7067 GB, free: 1.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002054/0.01135, allocations: 32 kB / 0.7068 GB, free: 1.238 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.542e-05/0.01145, allocations: 107.2 kB / 0.7069 GB, free: 1.121 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.01183, allocations: 209 kB / 0.7071 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01183, allocations: 4 kB / 0.7071 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01199, allocations: 59.89 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01227, allocations: 47.89 kB / 0.7072 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.01281, allocations: 309.5 kB / 0.7075 GB, free: 472 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01286, allocations: 93.81 kB / 0.7076 GB, free: 360 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.01294, allocations: 21.48 kB / 0.7076 GB, free: 336 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.01299, allocations: 20.48 kB / 0.7076 GB, free: 316 kB / 410.8 MB Notification: Performance of SimCode: time 3.21e-07/0.01299, allocations: 0 / 0.7076 GB, free: 316 kB / 410.8 MB Notification: Performance of Templates: time 0.006061/0.01905, allocations: 2.498 MB / 0.71 GB, free: 13.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.840824933024123]