Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.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.001997/0.001997, 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.00208/0.00208, 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.394/1.394, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.997e-05/4.203e-05, allocations: 4.953 kB / 0.6999 GB, free: 8.508 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride): time 0.00277/0.002812, allocations: 1.822 MB / 0.7017 GB, free: 6.668 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.003734, allocations: 0.5499 MB / 0.7022 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.003796, allocations: 4 kB / 0.7022 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003904, allocations: 19.86 kB / 0.7022 GB, free: 6.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.004254, allocations: 59.55 kB / 0.7023 GB, free: 6.031 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.004422, allocations: 70.52 kB / 0.7024 GB, free: 5.965 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.004637, allocations: 171.2 kB / 0.7025 GB, free: 5.797 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.004686, allocations: 5.312 kB / 0.7025 GB, free: 5.793 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004817, allocations: 91.78 kB / 0.7026 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.005045, allocations: 75.78 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.005074, allocations: 8 kB / 0.7027 GB, free: 5.621 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.005097, allocations: 4 kB / 0.7027 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.005158, allocations: 39.83 kB / 0.7027 GB, free: 5.578 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.005218, allocations: 47.83 kB / 0.7028 GB, free: 5.531 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005356, allocations: 99.62 kB / 0.7029 GB, free: 5.434 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.005359, allocations: 4 kB / 0.7029 GB, free: 5.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00536, allocations: 0 / 0.7029 GB, free: 5.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005365, allocations: 4 kB / 0.7029 GB, free: 5.426 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.0007413/0.006107, allocations: 391.5 kB / 0.7033 GB, free: 5.008 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.006142, allocations: 11.89 kB / 0.7033 GB, free: 4.996 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.0062, allocations: 16.84 kB / 0.7033 GB, free: 4.98 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006368, allocations: 150.1 kB / 0.7034 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.006396, allocations: 8.375 kB / 0.7034 GB, free: 4.801 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.006426, allocations: 8.375 kB / 0.7034 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.006676, allocations: 94.19 kB / 0.7035 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.006688, allocations: 7.938 kB / 0.7035 GB, free: 4.688 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006702, allocations: 0 / 0.7035 GB, free: 4.688 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.006707, allocations: 3.938 kB / 0.7035 GB, free: 4.684 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.006981, allocations: 87.91 kB / 0.7036 GB, free: 4.598 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.00742, allocations: 272.4 kB / 0.7039 GB, free: 4.301 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.007786, allocations: 146.3 kB / 0.704 GB, free: 4.148 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.007936, allocations: 52.81 kB / 0.7041 GB, free: 4.094 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.007953, allocations: 3.938 kB / 0.7041 GB, free: 4.09 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.008209, allocations: 115.3 kB / 0.7042 GB, free: 3.965 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.008211, allocations: 0 / 0.7042 GB, free: 3.965 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005698/0.008781, allocations: 201.3 kB / 0.7044 GB, free: 3.766 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.00881, allocations: 55.41 kB / 0.7044 GB, free: 3.699 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.00893, allocations: 157 kB / 0.7046 GB, free: 3.539 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.008951, allocations: 33.7 kB / 0.7046 GB, free: 3.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.008997, allocations: 104 kB / 0.7047 GB, free: 3.395 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.009026, allocations: 43.64 kB / 0.7048 GB, free: 3.352 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.009089, allocations: 37.7 kB / 0.7048 GB, free: 3.309 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.009143, allocations: 326.8 kB / 0.7051 GB, free: 2.98 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.009324, allocations: 81.66 kB / 0.7052 GB, free: 2.895 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.009528, allocations: 202.9 kB / 0.7054 GB, free: 2.66 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.009809, allocations: 141.3 kB / 0.7055 GB, free: 2.516 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.009817, allocations: 3.938 kB / 0.7055 GB, free: 2.512 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003915/0.01021, allocations: 236.8 kB / 0.7057 GB, free: 2.262 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.01025, allocations: 37.7 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01025, allocations: 3.938 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01027, allocations: 0 / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01043, allocations: 27.97 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01044, allocations: 4 kB / 0.7058 GB, free: 2.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.0106, allocations: 23.86 kB / 0.7058 GB, free: 2.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01062, allocations: 8 kB / 0.7058 GB, free: 2.152 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 8.98e-05/0.01071, allocations: 126.4 kB / 0.706 GB, free: 2.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.01073, allocations: 15.91 kB / 0.706 GB, free: 2.004 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.01112, allocations: 174.4 kB / 0.7062 GB, free: 1.832 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01112, allocations: 0 / 0.7062 GB, free: 1.832 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01113, allocations: 4 kB / 0.7062 GB, free: 1.828 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01113, allocations: 224 / 0.7062 GB, free: 1.828 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.01126, allocations: 145.2 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01126, allocations: 7.875 kB / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01142, allocations: 27.97 kB / 0.7063 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01142, allocations: 0 / 0.7063 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.01144, allocations: 8 kB / 0.7063 GB, free: 1.613 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01144, allocations: 0 / 0.7063 GB, free: 1.613 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01144, allocations: 3.938 kB / 0.7063 GB, free: 1.609 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.01195, allocations: 245 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.01198, allocations: 23.8 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.012, allocations: 4 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.01214, allocations: 11.98 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.01221, allocations: 19.97 kB / 0.7066 GB, free: 1.293 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01222, allocations: 0 / 0.7066 GB, free: 1.293 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.0123, allocations: 123.1 kB / 0.7067 GB, free: 1.172 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0123, allocations: 0 / 0.7067 GB, free: 1.172 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002116/0.01251, allocations: 32 kB / 0.7068 GB, free: 1.141 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.0001056/0.01262, allocations: 107.2 kB / 0.7069 GB, free: 1.023 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.01302, allocations: 209 kB / 0.7071 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01302, allocations: 0 / 0.7071 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.0132, allocations: 63.89 kB / 0.7071 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.0135, allocations: 62.89 kB / 0.7072 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.01415, allocations: 301.5 kB / 0.7075 GB, free: 368 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.01421, allocations: 97.8 kB / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.418e-05/0.01429, allocations: 21.48 kB / 0.7076 GB, free: 228 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.01435, allocations: 24.48 kB / 0.7076 GB, free: 204 kB / 410.8 MB Notification: Performance of SimCode: time 2.81e-07/0.01435, allocations: 4 kB / 0.7076 GB, free: 200 kB / 410.8 MB Notification: Performance of Templates: time 0.00801/0.02236, allocations: 2.481 MB / 0.7101 GB, free: 13.8 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.795426179887727]