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.001003/0.001003, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001146/0.001146, allocations: 166.3 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9696/0.9696, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7504/0.7504, allocations: 291.2 MB / 0.5382 GB, free: 51.33 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=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.835e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride): time 0.001789/0.001807, allocations: 1.834 MB / 0.6992 GB, free: 8.516 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.002479, allocations: 0.5499 MB / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.002537, allocations: 0 / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.707e-05/0.002634, allocations: 15.84 kB / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.002954, allocations: 67.48 kB / 0.6998 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.003077, allocations: 63.78 kB / 0.6999 GB, free: 7.816 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.003237, allocations: 167.3 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.00328, allocations: 9.297 kB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003386, allocations: 95.78 kB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.003576, allocations: 71.78 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.003599, allocations: 8 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.003616, allocations: 8 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.003672, allocations: 39.88 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.003719, allocations: 39.86 kB / 0.7003 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003842, allocations: 99.67 kB / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003844, allocations: 0 / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003845, allocations: 0 / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.003849, allocations: 0 / 0.7004 GB, free: 7.289 MB / 410.8 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.0005502/0.004399, allocations: 399.4 kB / 0.7008 GB, free: 6.863 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.004434, allocations: 15.88 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.004477, allocations: 16.84 kB / 0.7008 GB, free: 6.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004613, allocations: 150.2 kB / 0.7009 GB, free: 6.66 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.004627, allocations: 4.375 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.00465, allocations: 8.375 kB / 0.7009 GB, free: 6.648 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.004811, allocations: 98.17 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.004819, allocations: 7.938 kB / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.004831, allocations: 4 kB / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004836, allocations: 0 / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.004981, allocations: 79.86 kB / 0.7011 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.005304, allocations: 276.4 kB / 0.7014 GB, free: 6.156 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.005518, allocations: 138.4 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.005597, allocations: 52.83 kB / 0.7016 GB, free: 5.957 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.005611, allocations: 3.984 kB / 0.7016 GB, free: 5.953 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.005777, allocations: 127.2 kB / 0.7017 GB, free: 5.816 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.005778, allocations: 224 / 0.7017 GB, free: 5.816 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003233/0.006101, allocations: 197.2 kB / 0.7019 GB, free: 5.621 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.006127, allocations: 59.34 kB / 0.7019 GB, free: 5.551 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.00621, allocations: 155.6 kB / 0.7021 GB, free: 5.391 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006223, allocations: 37.69 kB / 0.7021 GB, free: 5.348 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.006263, allocations: 96.09 kB / 0.7022 GB, free: 5.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.006286, allocations: 51.62 kB / 0.7023 GB, free: 5.199 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.006328, allocations: 37.7 kB / 0.7023 GB, free: 5.156 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.006374, allocations: 322.8 kB / 0.7026 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.006476, allocations: 85.59 kB / 0.7027 GB, free: 4.742 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.006594, allocations: 202.1 kB / 0.7029 GB, free: 4.508 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.006759, allocations: 144.7 kB / 0.703 GB, free: 4.359 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.006762, allocations: 7.938 kB / 0.703 GB, free: 4.352 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002257/0.006988, allocations: 232.8 kB / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.007013, allocations: 37.69 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007018, allocations: 0 / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007032, allocations: 0 / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.007127, allocations: 27.92 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.007133, allocations: 4 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.007212, allocations: 23.92 kB / 0.7033 GB, free: 4.008 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.007223, allocations: 4 kB / 0.7033 GB, free: 4.004 MB / 410.8 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.15e-05/0.007285, allocations: 126.4 kB / 0.7035 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.007296, allocations: 11.91 kB / 0.7035 GB, free: 3.859 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.00753, allocations: 174.3 kB / 0.7036 GB, free: 3.688 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007533, allocations: 0 / 0.7036 GB, free: 3.688 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.007538, allocations: 0 / 0.7036 GB, free: 3.688 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.007543, allocations: 4 kB / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.734e-05/0.00763, allocations: 149.2 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007631, allocations: 7.938 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.00772, allocations: 23.97 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007722, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.007735, allocations: 8 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007736, allocations: 0 / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007738, allocations: 0 / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.008046, allocations: 248.9 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.008063, allocations: 19.94 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.008084, allocations: 8 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.008137, allocations: 7.984 kB / 0.7041 GB, free: 3.172 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.008198, allocations: 27.84 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.008206, allocations: 0 / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.008256, allocations: 125.8 kB / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008256, allocations: 0 / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001377/0.008394, allocations: 32 kB / 0.7043 GB, free: 2.992 MB / 410.8 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 8.174e-05/0.008476, allocations: 111.2 kB / 0.7044 GB, free: 2.871 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.008743, allocations: 211.4 kB / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008744, allocations: 0 / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.008834, allocations: 63.89 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009035, allocations: 43.89 kB / 0.7047 GB, free: 2.543 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.009509, allocations: 342.1 kB / 0.705 GB, free: 2.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.009557, allocations: 93.81 kB / 0.7051 GB, free: 2.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.009608, allocations: 20.48 kB / 0.7051 GB, free: 2.047 MB / 410.8 MB Notification: Performance of SimCode: time 6.22e-07/0.009609, allocations: 4 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of Templates: time 0.002428/0.01204, allocations: 2.049 MB / 0.7071 GB, free: 8 kB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.317780219949782]