Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_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.001033/0.001033, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002566, allocations: 435.8 kB / 10.31 MB, free: 384 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.001245/0.001245, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002709, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9596/0.9596, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09161/1.051, allocations: 53.66 MB / 243.2 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.7707/0.7707, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03318/0.8039, allocations: 21.02 MB / 0.5431 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_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.844e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference): time 0.002511/0.00253, allocations: 1.929 MB / 0.5464 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.003407, allocations: 0.5715 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.003465, allocations: 7.938 kB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.003525, allocations: 7.922 kB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.003794, allocations: 67.47 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004015, allocations: 71.77 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.004282, allocations: 164 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.004341, allocations: 9.953 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.004578, allocations: 119.7 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.004876, allocations: 75.78 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.004909, allocations: 8 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.004938, allocations: 4 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.005009, allocations: 23.92 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.005081, allocations: 27.94 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.005261, allocations: 71.77 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.341e-05/0.005284, allocations: 0 / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.005286, allocations: 7.984 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.005303, allocations: 0 / 0.5476 GB, free: 27.39 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.0007725/0.006076, allocations: 384.1 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.006116, allocations: 15.89 kB / 0.5479 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.006174, allocations: 16.92 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.006381, allocations: 158.8 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.006408, allocations: 4.375 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.006436, allocations: 16.38 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006616, allocations: 73.02 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.006625, allocations: 3.938 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006637, allocations: 4 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006643, allocations: 0 / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.144e-05/0.006704, allocations: 23.98 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.007033, allocations: 201.8 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.007169, allocations: 110.9 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.007207, allocations: 31.97 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.007222, allocations: 0 / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.00736, allocations: 94.22 kB / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.007361, allocations: 0 / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001878/0.007549, allocations: 85.59 kB / 0.5487 GB, free: 26.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.007578, allocations: 59.41 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.007667, allocations: 142.6 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.007685, allocations: 33.7 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.007725, allocations: 96.06 kB / 0.5491 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.007761, allocations: 47.61 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.007819, allocations: 41.66 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.007865, allocations: 326.8 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.007918, allocations: 44.73 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.007989, allocations: 162 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.008072, allocations: 90.77 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008075, allocations: 0 / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000143/0.008218, allocations: 147.8 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.008251, allocations: 33.69 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008256, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.008265, allocations: 4 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.008416, allocations: 35.92 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.008419, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.008518, allocations: 15.98 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.008532, allocations: 4.047 kB / 0.55 GB, free: 24.7 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 6.127e-05/0.008593, allocations: 124.6 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.008613, allocations: 15.92 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008752, allocations: 94.36 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.008755, allocations: 4 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008757, allocations: 4 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.008761, allocations: 0 / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.692e-05/0.008858, allocations: 101.8 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008859, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.008981, allocations: 23.98 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.009001, allocations: 11.94 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009004, allocations: 3.938 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.009019, allocations: 8 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009021, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.009023, allocations: 2.75 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.009198, allocations: 142.6 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.009222, allocations: 7.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.009298, allocations: 11.98 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.009346, allocations: 15.97 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.009355, allocations: 0 / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.009395, allocations: 39.12 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009395, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.009588, allocations: 32 kB / 0.5506 GB, free: 24.01 MB / 410.7 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.0001001/0.009688, allocations: 84.45 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.009855, allocations: 157.7 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.00986, allocations: 4 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.009915, allocations: 36.78 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01012, allocations: 68.39 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.01417, allocations: 354.2 kB / 0.5513 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.0142, allocations: 71.83 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.298e-05/0.01429, allocations: 13.5 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.01444, allocations: 91.34 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01444, allocations: 0 / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of Templates: time 0.005264/0.01971, allocations: 2.741 MB / 0.5541 GB, free: 20.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.15952383633703]