Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.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.002418/0.002418, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.002776/0.002776, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.617/1.617, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.383/1.383, 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.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.783e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.00245/0.002478, allocations: 1.818 MB / 0.7017 GB, free: 6.742 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.00334, allocations: 0.5574 MB / 0.7022 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.003397, allocations: 0 / 0.7022 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.003484, allocations: 11.86 kB / 0.7022 GB, free: 6.168 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.003807, allocations: 67.53 kB / 0.7023 GB, free: 6.102 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.00396, allocations: 67.7 kB / 0.7023 GB, free: 6.039 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004139, allocations: 171.2 kB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.004181, allocations: 5.312 kB / 0.7025 GB, free: 5.867 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.00431, allocations: 91.78 kB / 0.7026 GB, free: 5.777 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00451, allocations: 79.75 kB / 0.7027 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.004535, allocations: 8 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.578e-05/0.004561, allocations: 8 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.004614, allocations: 31.84 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.004674, allocations: 39.91 kB / 0.7028 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004806, allocations: 103.7 kB / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004808, allocations: 0 / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004809, allocations: 3.984 kB / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004814, allocations: 0 / 0.7029 GB, free: 5.508 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.0007205/0.005534, allocations: 395.5 kB / 0.7032 GB, free: 5.086 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.005565, allocations: 8.031 kB / 0.7032 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.005616, allocations: 16.84 kB / 0.7033 GB, free: 5.062 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005776, allocations: 150.1 kB / 0.7034 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.005792, allocations: 8.375 kB / 0.7034 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.005819, allocations: 4.375 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.00606, allocations: 102.2 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006071, allocations: 3.938 kB / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.006085, allocations: 3.938 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006091, allocations: 0 / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.006379, allocations: 79.92 kB / 0.7036 GB, free: 4.688 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.006803, allocations: 288.3 kB / 0.7039 GB, free: 4.375 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.007175, allocations: 138.3 kB / 0.704 GB, free: 4.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.00732, allocations: 56.81 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007335, allocations: 0 / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.007584, allocations: 107.3 kB / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.007585, allocations: 0 / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005646/0.00815, allocations: 201.6 kB / 0.7044 GB, free: 3.852 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.008184, allocations: 59.39 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.008303, allocations: 157 kB / 0.7046 GB, free: 3.621 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.00832, allocations: 29.7 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.008372, allocations: 100.1 kB / 0.7047 GB, free: 3.484 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.008404, allocations: 43.64 kB / 0.7047 GB, free: 3.441 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.008467, allocations: 37.7 kB / 0.7048 GB, free: 3.398 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.008522, allocations: 322.8 kB / 0.7051 GB, free: 3.074 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.008695, allocations: 89.64 kB / 0.7052 GB, free: 2.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.008912, allocations: 198.1 kB / 0.7053 GB, free: 2.75 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.009215, allocations: 144.8 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009218, allocations: 7.938 kB / 0.7055 GB, free: 2.594 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003871/0.009605, allocations: 232.8 kB / 0.7057 GB, free: 2.348 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.009629, allocations: 37.69 kB / 0.7057 GB, free: 2.305 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.009634, allocations: 0 / 0.7057 GB, free: 2.305 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.00965, allocations: 4 kB / 0.7058 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.009819, allocations: 27.92 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.009825, allocations: 4 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.01001, allocations: 19.92 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.01003, allocations: 7.984 kB / 0.7058 GB, free: 2.242 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.889e-05/0.01011, allocations: 126.4 kB / 0.7059 GB, free: 2.109 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01013, allocations: 11.91 kB / 0.7059 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.01053, allocations: 177 kB / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01053, allocations: 0 / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01053, allocations: 0 / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01054, allocations: 224 / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.01066, allocations: 149.2 kB / 0.7063 GB, free: 1.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01066, allocations: 7.875 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.01081, allocations: 28.03 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01082, allocations: 3.984 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01083, allocations: 7.938 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01083, allocations: 4 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01083, allocations: 4 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.01135, allocations: 252.9 kB / 0.7065 GB, free: 1.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.01138, allocations: 19.81 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.01141, allocations: 4 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01153, allocations: 11.98 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.0116, allocations: 15.97 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01161, allocations: 4 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.127e-05/0.01168, allocations: 127.2 kB / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01168, allocations: 0 / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002087/0.01189, allocations: 32 kB / 0.7067 GB, free: 1.219 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.0001105/0.012, allocations: 103.2 kB / 0.7068 GB, free: 1.105 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.0124, allocations: 215.6 kB / 0.7071 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0124, allocations: 0 / 0.7071 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.01256, allocations: 59.89 kB / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01284, allocations: 47.83 kB / 0.7072 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.01349, allocations: 313.4 kB / 0.7075 GB, free: 452 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.467e-05/0.01354, allocations: 97.81 kB / 0.7075 GB, free: 336 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.634e-05/0.01363, allocations: 25.47 kB / 0.7076 GB, free: 308 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.01368, allocations: 16.5 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of SimCode: time 3.3e-07/0.01368, allocations: 0 / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of Templates: time 0.006631/0.02031, allocations: 2.493 MB / 0.71 GB, free: 13.91 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.804203131934628]