Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.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.001093/0.001093, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002654, 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.001042/0.001042, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002379, 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09112/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7878/0.7878, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02989/0.8177, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 4 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.991e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride): time 0.001865/0.001885, allocations: 1.966 MB / 0.5465 GB, free: 28.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.002515, allocations: 0.577 MB / 0.5471 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.002571, allocations: 3.938 kB / 0.5471 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/0.00262, allocations: 7.922 kB / 0.5471 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.002843, allocations: 71.41 kB / 0.5472 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.002979, allocations: 67.83 kB / 0.5472 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.003153, allocations: 164 kB / 0.5474 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.003195, allocations: 5.969 kB / 0.5474 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.003332, allocations: 115.7 kB / 0.5475 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.003505, allocations: 83.75 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.003527, allocations: 4 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.003543, allocations: 8 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.003586, allocations: 19.94 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.003628, allocations: 27.94 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003734, allocations: 75.69 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.003747, allocations: 8 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003748, allocations: 0 / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.003762, allocations: 0 / 0.5477 GB, free: 27.31 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.0005065/0.004268, allocations: 384.1 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.0043, allocations: 12.03 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.004339, allocations: 16.92 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.004464, allocations: 158.8 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.00448, allocations: 8.375 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.004501, allocations: 8.375 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.004617, allocations: 81.02 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004625, allocations: 3.938 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.004635, allocations: 8 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.00464, allocations: 3.984 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.004681, allocations: 27.92 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.004923, allocations: 189.9 kB / 0.5486 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.005026, allocations: 121.6 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.005052, allocations: 20.84 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005065, allocations: 4 kB / 0.5487 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.005181, allocations: 94.17 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.005184, allocations: 0 / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001483/0.005332, allocations: 81.66 kB / 0.5489 GB, free: 26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.005351, allocations: 59.41 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.005417, allocations: 146.6 kB / 0.5491 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.00543, allocations: 33.92 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.005457, allocations: 100.1 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.005481, allocations: 43.56 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.005522, allocations: 45.64 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.005552, allocations: 322.8 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.005587, allocations: 48.52 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.005636, allocations: 158.1 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.005695, allocations: 86.81 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005698, allocations: 4 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.626e-05/0.005794, allocations: 143.8 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.005823, allocations: 37.69 kB / 0.5501 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005828, allocations: 4 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005839, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.005951, allocations: 31.92 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005954, allocations: 4 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.006029, allocations: 19.42 kB / 0.5501 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.006037, allocations: 0 / 0.5501 GB, free: 24.61 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 5.189e-05/0.006088, allocations: 116.7 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.006104, allocations: 15.92 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.006207, allocations: 98.36 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00621, allocations: 4 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006211, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.006227, allocations: 15.84 kB / 0.5504 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.006238, allocations: 4 kB / 0.5504 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.006254, allocations: 7.984 kB / 0.5504 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.006307, allocations: 8 kB / 0.5504 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.006343, allocations: 11.97 kB / 0.5504 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001501/0.006493, allocations: 217.4 kB / 0.5506 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001406/0.006633, allocations: 332.4 kB / 0.5509 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.226e-05/0.006675, allocations: 32.83 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.006702, allocations: 39.94 kB / 0.551 GB, free: 23.68 MB / 410.7 MB Notification: Performance of Backend: time 1.3e-07/0.006702, allocations: 0 / 0.551 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.006941, allocations: 205.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of SimCode: time 0.002619/0.00956, allocations: 0.8801 MB / 0.552 GB, free: 22.53 MB / 410.7 MB Notification: Performance of Templates: time 0.003872/0.01343, allocations: 2.955 MB / 0.5549 GB, free: 19.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4213608633726835]