Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.0007172/0.0007172, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009839/0.001701, 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.0007311/0.0007311, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008921/0.001623, 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.019/1.019, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1201/1.139, allocations: 53.66 MB / 243.3 MB, free: 15.6 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.8138/0.8138, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03265/0.8464, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.042e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference): time 0.002377/0.002397, allocations: 1.943 MB / 0.5465 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.003184, allocations: 0.5729 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.003237, allocations: 3.938 kB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.006295, allocations: 11.86 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.00654, allocations: 71.47 kB / 0.5471 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.006697, allocations: 63.83 kB / 0.5472 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.006878, allocations: 168 kB / 0.5473 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.006921, allocations: 5.969 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.007073, allocations: 119.7 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.007281, allocations: 79.78 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.007304, allocations: 4 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.007326, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.007371, allocations: 23.92 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.007421, allocations: 27.94 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.007552, allocations: 75.73 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.007566, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007567, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.007583, allocations: 0 / 0.5476 GB, free: 27.38 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.0006021/0.008185, allocations: 392.1 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.008225, allocations: 11.89 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.008269, allocations: 12.94 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.00841, allocations: 161.2 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.008429, allocations: 12.36 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.008454, allocations: 8.375 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.008588, allocations: 73.03 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.008597, allocations: 3.938 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.008608, allocations: 4 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.008614, allocations: 8 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.008663, allocations: 23.91 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.008935, allocations: 197 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.009053, allocations: 121.6 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.009085, allocations: 16.86 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.0091, allocations: 4 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003157/0.01226, allocations: 98.16 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.01226, allocations: 0 / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000175/0.01243, allocations: 85.66 kB / 0.5488 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.01246, allocations: 55.41 kB / 0.5489 GB, free: 26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.01253, allocations: 150.6 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.01255, allocations: 29.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.01258, allocations: 96.08 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.01261, allocations: 43.61 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.01267, allocations: 41.64 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.0127, allocations: 326.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.01274, allocations: 40.75 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.01281, allocations: 170 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.01288, allocations: 84.11 kB / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01289, allocations: 0 / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001251/0.01301, allocations: 154.9 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.01304, allocations: 33.7 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01305, allocations: 0 / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01306, allocations: 0 / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.0132, allocations: 31.97 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.0132, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.01329, allocations: 23.97 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01329, allocations: 4 kB / 0.5501 GB, free: 24.68 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.436e-05/0.01335, allocations: 120.6 kB / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.01337, allocations: 15.92 kB / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.01349, allocations: 98.36 kB / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01349, allocations: 0 / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.0135, allocations: 0 / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01352, allocations: 19.83 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.01354, allocations: 4 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01356, allocations: 4 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/0.01362, allocations: 15.98 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.01366, allocations: 11.97 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001745/0.01384, allocations: 209.4 kB / 0.5505 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001723/0.01401, allocations: 340.4 kB / 0.5509 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.47e-05/0.01407, allocations: 24.84 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.0141, allocations: 43.92 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of Backend: time 2.5e-07/0.0141, allocations: 0 / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.01441, allocations: 220.2 kB / 0.5511 GB, free: 23.51 MB / 410.7 MB Notification: Performance of SimCode: time 0.006405/0.02082, allocations: 0.8722 MB / 0.552 GB, free: 22.59 MB / 410.7 MB Notification: Performance of Templates: time 0.008859/0.02968, allocations: 2.965 MB / 0.5549 GB, free: 19.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5030267434194684]