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.0007118/0.0007118, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001693, 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.0006892/0.0006892, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.00169, 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 0.9684/0.9684, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09688/1.065, 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.8467/0.8467, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03416/0.8808, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.54e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride): time 0.002103/0.002128, allocations: 1.959 MB / 0.5465 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.00284, allocations: 0.5763 MB / 0.5471 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.002899, allocations: 0 / 0.5471 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.002949, allocations: 11.86 kB / 0.5471 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.003169, allocations: 75.48 kB / 0.5472 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.003311, allocations: 59.83 kB / 0.5472 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.003477, allocations: 168 kB / 0.5474 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.003525, allocations: 9.969 kB / 0.5474 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.00367, allocations: 119.7 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.003849, allocations: 75.77 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003873, allocations: 8 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.003891, allocations: 8 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.003933, allocations: 19.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.003976, allocations: 27.94 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.004094, allocations: 83.67 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.004109, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00411, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.004125, allocations: 0 / 0.5477 GB, free: 27.32 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.0005522/0.004677, allocations: 392.1 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.00471, allocations: 11.97 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.004749, allocations: 12.92 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.004886, allocations: 154.8 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.004903, allocations: 8.375 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.004927, allocations: 8.375 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.005052, allocations: 81.02 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.00506, allocations: 7.938 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005069, allocations: 0 / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005075, allocations: 0 / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.005115, allocations: 23.92 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.00538, allocations: 197.9 kB / 0.5486 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.005489, allocations: 117.6 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.005518, allocations: 20.86 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.005534, allocations: 0 / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.005655, allocations: 98.17 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.005656, allocations: 0 / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001446/0.0058, allocations: 85.66 kB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.005819, allocations: 55.41 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.005883, allocations: 146.8 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.005896, allocations: 33.7 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.005927, allocations: 100 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.005952, allocations: 47.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.005994, allocations: 41.64 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.006035, allocations: 326.8 kB / 0.5496 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.006072, allocations: 48.47 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.006128, allocations: 158.1 kB / 0.5498 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.034e-05/0.006188, allocations: 87.12 kB / 0.5499 GB, free: 24.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00619, allocations: 0 / 0.5499 GB, free: 24.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001047/0.006295, allocations: 147.8 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.006324, allocations: 29.7 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006329, allocations: 0 / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.006342, allocations: 4.031 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.006455, allocations: 35.92 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.006459, allocations: 3.984 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.006525, allocations: 16 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.006533, allocations: 4 kB / 0.5501 GB, free: 24.63 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.97e-05/0.006582, allocations: 120.7 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.006598, allocations: 15.94 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.006729, allocations: 94.36 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.006734, allocations: 3.984 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006735, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.00675, allocations: 19.84 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.006762, allocations: 0 / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.00678, allocations: 11.19 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.006835, allocations: 11.98 kB / 0.5504 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.006874, allocations: 15.97 kB / 0.5504 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001516/0.007025, allocations: 212.7 kB / 0.5506 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001463/0.007172, allocations: 325.1 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.127e-05/0.007213, allocations: 32.83 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.007243, allocations: 43.12 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of Backend: time 2.31e-07/0.007243, allocations: 4.031 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.007499, allocations: 209.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of SimCode: time 0.002568/0.01007, allocations: 0.8722 MB / 0.552 GB, free: 22.54 MB / 410.7 MB Notification: Performance of Templates: time 0.004564/0.01463, allocations: 2.954 MB / 0.5549 GB, free: 19.66 MB / 410.7 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 -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.364942915737629]