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.001431/0.001431, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002144/0.003575, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001323/0.001323, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001715/0.003037, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08549/1.094, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 0.744/0.744, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03024/0.7742, allocations: 21.06 MB / 0.5432 GB, free: 31.93 MB / 410.7 MB " [Timeout remaining time 179] 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.532e-06/1.532e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.118e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.001722/0.001743, allocations: 1.946 MB / 0.5465 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.002343, allocations: 0.5729 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.002388, allocations: 4 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.002431, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.002631, allocations: 71.48 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.002757, allocations: 63.77 kB / 0.5472 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.002905, allocations: 164 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.002946, allocations: 13.95 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.003073, allocations: 111.8 kB / 0.5475 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.00324, allocations: 71.78 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.003261, allocations: 12 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.003278, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.003316, allocations: 23.92 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.003356, allocations: 31.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.00346, allocations: 79.67 kB / 0.5477 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.003472, allocations: 0 / 0.5477 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003473, allocations: 3.938 kB / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.003485, allocations: 0 / 0.5477 GB, free: 27.34 MB / 410.7 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.0004898/0.003975, allocations: 388.2 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.004005, allocations: 11.89 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.004041, allocations: 12.92 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.00417, allocations: 154.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004185, allocations: 8.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.004206, allocations: 8.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.00432, allocations: 76.97 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004328, allocations: 3.938 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.004337, allocations: 3.984 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004342, allocations: 8 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.00438, allocations: 19.98 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.004614, allocations: 197.9 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.00471, allocations: 125.5 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.004735, allocations: 12.86 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.004748, allocations: 4 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.004852, allocations: 90.22 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.004854, allocations: 0 / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000139/0.004993, allocations: 97.59 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.005009, allocations: 51.41 kB / 0.5489 GB, free: 25.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.005075, allocations: 150.6 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.005087, allocations: 29.7 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.005114, allocations: 96.08 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.005138, allocations: 43.83 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.005177, allocations: 45.62 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.649e-05/0.005204, allocations: 326.8 kB / 0.5496 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.005236, allocations: 40.53 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.005285, allocations: 164.9 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.005339, allocations: 88.16 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005342, allocations: 0 / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.023e-05/0.005432, allocations: 158.3 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.005457, allocations: 29.7 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00546, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.005471, allocations: 4 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.005576, allocations: 30.98 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005579, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.005646, allocations: 15.98 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.005654, allocations: 8 kB / 0.5501 GB, free: 24.66 MB / 410.7 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 4.668e-05/0.0057, allocations: 128.5 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.005714, allocations: 15.94 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.005815, allocations: 94.42 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005818, allocations: 3.984 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.005819, allocations: 0 / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.005833, allocations: 15.84 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.005844, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.00586, allocations: 8 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.005911, allocations: 11.98 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.005945, allocations: 15.97 kB / 0.5503 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001437/0.006089, allocations: 208.7 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001328/0.006222, allocations: 329.1 kB / 0.5509 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.849e-05/0.00626, allocations: 32.97 kB / 0.5509 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.474e-05/0.006285, allocations: 46.45 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of Backend: time 2.2e-07/0.006285, allocations: 0 / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.006513, allocations: 215.4 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of SimCode: time 0.002428/0.008941, allocations: 0.8794 MB / 0.552 GB, free: 22.56 MB / 410.7 MB Notification: Performance of Templates: time 0.003667/0.01261, allocations: 2.961 MB / 0.5549 GB, free: 19.66 MB / 410.7 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 -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.36084418091923]