Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.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.002031/0.002031, 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.00225/0.00225, 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.352/1.352, allocations: 292.9 MB / 0.5392 GB, free: 50.17 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.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6999 GB, free: 8.484 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.848e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.48 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide): time 0.002572/0.00261, allocations: 1.829 MB / 0.7017 GB, free: 6.637 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.003501, allocations: 0.5538 MB / 0.7022 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.003562, allocations: 0 / 0.7022 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003697, allocations: 11.86 kB / 0.7023 GB, free: 6.066 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.004038, allocations: 59.55 kB / 0.7023 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.004199, allocations: 71.77 kB / 0.7024 GB, free: 5.938 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.004394, allocations: 175.2 kB / 0.7025 GB, free: 5.766 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.00444, allocations: 5.312 kB / 0.7025 GB, free: 5.762 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004567, allocations: 91.72 kB / 0.7026 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.004805, allocations: 67.84 kB / 0.7027 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.004835, allocations: 8 kB / 0.7027 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.004859, allocations: 12 kB / 0.7027 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.004921, allocations: 43.77 kB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.004983, allocations: 43.89 kB / 0.7028 GB, free: 5.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.00512, allocations: 95.69 kB / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005124, allocations: 0 / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005125, allocations: 0 / 0.7029 GB, free: 5.406 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005129, 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.0007375/0.005866, allocations: 401.6 kB / 0.7033 GB, free: 4.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.005904, allocations: 15.89 kB / 0.7033 GB, free: 4.965 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.005957, allocations: 16.84 kB / 0.7033 GB, free: 4.949 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006125, allocations: 153 kB / 0.7035 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.006141, allocations: 4.375 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.006169, allocations: 8.375 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.00641, allocations: 97.81 kB / 0.7036 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.006422, allocations: 7.875 kB / 0.7036 GB, free: 4.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.006437, allocations: 4 kB / 0.7036 GB, free: 4.656 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.006441, allocations: 0 / 0.7036 GB, free: 4.656 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.006716, allocations: 87.91 kB / 0.7037 GB, free: 4.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.007138, allocations: 276.3 kB / 0.7039 GB, free: 4.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.007486, allocations: 138.4 kB / 0.7041 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.007638, allocations: 56.75 kB / 0.7041 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.007656, allocations: 0 / 0.7041 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.007906, allocations: 115.3 kB / 0.7042 GB, free: 3.941 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.007908, allocations: 4 kB / 0.7042 GB, free: 3.938 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000539/0.008447, allocations: 193.7 kB / 0.7044 GB, free: 3.742 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.008476, allocations: 55.41 kB / 0.7045 GB, free: 3.676 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.008606, allocations: 156.9 kB / 0.7046 GB, free: 3.516 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.008627, allocations: 33.7 kB / 0.7046 GB, free: 3.477 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.00867, allocations: 104.1 kB / 0.7047 GB, free: 3.371 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.008698, allocations: 43.64 kB / 0.7048 GB, free: 3.328 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.008762, allocations: 37.7 kB / 0.7048 GB, free: 3.285 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.008822, allocations: 326.8 kB / 0.7051 GB, free: 2.957 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.008986, allocations: 81.66 kB / 0.7052 GB, free: 2.871 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.009176, allocations: 206.1 kB / 0.7054 GB, free: 2.633 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.009444, allocations: 141.1 kB / 0.7055 GB, free: 2.488 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009447, allocations: 7.938 kB / 0.7055 GB, free: 2.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003891/0.009836, allocations: 240.8 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.009863, allocations: 33.7 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.009868, allocations: 0 / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.009885, allocations: 0 / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01005, allocations: 27.97 kB / 0.7058 GB, free: 2.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01005, allocations: 4 kB / 0.7058 GB, free: 2.156 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.01022, allocations: 19.92 kB / 0.7059 GB, free: 2.137 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01023, allocations: 4 kB / 0.7059 GB, free: 2.133 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.925e-05/0.01031, allocations: 125.7 kB / 0.706 GB, free: 2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.01033, allocations: 23.91 kB / 0.706 GB, free: 1.977 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.01072, allocations: 174.3 kB / 0.7062 GB, free: 1.805 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01072, allocations: 224 / 0.7062 GB, free: 1.805 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01073, allocations: 0 / 0.7062 GB, free: 1.805 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01073, allocations: 3.938 kB / 0.7062 GB, free: 1.801 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.01085, allocations: 145.2 kB / 0.7063 GB, free: 1.629 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01085, allocations: 3.938 kB / 0.7063 GB, free: 1.625 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.011, allocations: 31.97 kB / 0.7063 GB, free: 1.594 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.011, allocations: 4 kB / 0.7063 GB, free: 1.59 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01102, allocations: 7.938 kB / 0.7064 GB, free: 1.582 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01102, allocations: 0 / 0.7064 GB, free: 1.582 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01102, allocations: 0 / 0.7064 GB, free: 1.582 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.01151, allocations: 244.6 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.01154, allocations: 27.8 kB / 0.7066 GB, free: 1.301 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01157, allocations: 4 kB / 0.7066 GB, free: 1.297 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.01169, allocations: 7.984 kB / 0.7066 GB, free: 1.289 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.01176, allocations: 24.03 kB / 0.7066 GB, free: 1.266 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.01177, allocations: 0 / 0.7066 GB, free: 1.266 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.138e-05/0.01184, allocations: 123.1 kB / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01184, allocations: 0 / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000208/0.01205, 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.0001124/0.01216, allocations: 103.2 kB / 0.7069 GB, free: 1 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.01257, allocations: 213 kB / 0.7071 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01257, allocations: 4 kB / 0.7071 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.01273, allocations: 59.89 kB / 0.7072 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.0002951/0.01303, allocations: 47.89 kB / 0.7072 GB, free: 0.6641 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.01368, allocations: 309.5 kB / 0.7075 GB, free: 344 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.538e-05/0.01373, allocations: 93.8 kB / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.843e-05/0.01382, allocations: 25.48 kB / 0.7076 GB, free: 204 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.01388, allocations: 20.48 kB / 0.7076 GB, free: 184 kB / 410.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01388, allocations: 0 / 0.7076 GB, free: 184 kB / 410.8 MB Notification: Performance of Templates: time 0.006693/0.02057, allocations: 2.494 MB / 0.7101 GB, free: 13.77 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.703942437889054]