Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_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.002235/0.002235, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002672/0.002672, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 1.375/1.375, allocations: 292.9 MB / 0.5392 GB, free: 50.19 MB / 410.7 MB " [Timeout remaining time 178] 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.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.055e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference): time 0.0024/0.002431, allocations: 1.811 MB / 0.7017 GB, free: 6.699 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.003385, allocations: 0.5535 MB / 0.7022 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.003449, allocations: 4 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.003552, allocations: 15.84 kB / 0.7022 GB, free: 6.121 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.00392, allocations: 59.55 kB / 0.7023 GB, free: 6.062 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.00409, allocations: 71.66 kB / 0.7023 GB, free: 5.996 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.004294, allocations: 171.2 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.004347, allocations: 5.312 kB / 0.7025 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004481, allocations: 87.78 kB / 0.7026 GB, free: 5.738 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.004735, allocations: 79.78 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.004767, allocations: 8 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.004794, allocations: 4 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.00487, allocations: 47.81 kB / 0.7027 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.004933, allocations: 31.92 kB / 0.7028 GB, free: 5.57 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.005089, allocations: 103.6 kB / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005093, allocations: 0 / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005095, allocations: 0 / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.0051, allocations: 4 kB / 0.7029 GB, free: 5.465 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.0007726/0.005873, allocations: 395.5 kB / 0.7032 GB, free: 5.043 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.005908, allocations: 16.03 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.005967, allocations: 12.84 kB / 0.7033 GB, free: 5.016 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006144, allocations: 150.2 kB / 0.7034 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006162, allocations: 4.375 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.006192, allocations: 8.375 kB / 0.7034 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.006437, allocations: 94.17 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006446, allocations: 7.875 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.006462, allocations: 8 kB / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006466, allocations: 3.938 kB / 0.7035 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.006744, allocations: 83.92 kB / 0.7036 GB, free: 4.633 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.007176, allocations: 272.4 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.007534, allocations: 142.3 kB / 0.704 GB, free: 4.188 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.00768, allocations: 48.83 kB / 0.7041 GB, free: 4.137 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.007699, allocations: 3.938 kB / 0.7041 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.007953, allocations: 115.3 kB / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.007954, allocations: 4 kB / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005562/0.00851, allocations: 193.7 kB / 0.7044 GB, free: 3.809 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.00854, allocations: 51.41 kB / 0.7044 GB, free: 3.746 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008665, allocations: 159.5 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.008683, allocations: 33.7 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.008733, allocations: 108 kB / 0.7047 GB, free: 3.434 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.008764, allocations: 39.64 kB / 0.7047 GB, free: 3.395 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.008831, allocations: 41.7 kB / 0.7048 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.008901, allocations: 326.8 kB / 0.7051 GB, free: 3.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.009082, allocations: 85.64 kB / 0.7052 GB, free: 2.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.009278, allocations: 198.1 kB / 0.7054 GB, free: 2.699 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.009568, allocations: 141.3 kB / 0.7055 GB, free: 2.555 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009571, allocations: 3.938 kB / 0.7055 GB, free: 2.551 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003969/0.009968, allocations: 236.8 kB / 0.7057 GB, free: 2.301 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.01, allocations: 41.69 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01001, allocations: 3.938 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01003, allocations: 0 / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.0102, allocations: 23.98 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.0102, allocations: 0 / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01038, allocations: 23.92 kB / 0.7058 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.0104, allocations: 4 kB / 0.7058 GB, free: 2.199 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 8.983e-05/0.01049, allocations: 130.4 kB / 0.7059 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.01052, allocations: 19.91 kB / 0.706 GB, free: 2.043 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.01093, allocations: 170.4 kB / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01093, allocations: 0 / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01094, allocations: 0 / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01094, allocations: 224 / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.01107, allocations: 145.2 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01107, allocations: 7.875 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01123, allocations: 31.97 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01123, allocations: 3.938 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.01125, allocations: 4 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01125, allocations: 8 kB / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01125, allocations: 3.938 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.01179, allocations: 248.7 kB / 0.7065 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01182, allocations: 23.81 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.01185, allocations: 0 / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.01198, allocations: 11.98 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.01205, allocations: 20.03 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01206, allocations: 4 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.578e-05/0.01214, allocations: 125.8 kB / 0.7067 GB, free: 1.207 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01214, allocations: 0 / 0.7067 GB, free: 1.207 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000218/0.01236, allocations: 32 kB / 0.7068 GB, free: 1.176 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 0.0001191/0.01247, allocations: 111.2 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.0129, allocations: 205 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0129, allocations: 0 / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.01306, allocations: 67.89 kB / 0.7071 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01338, allocations: 43.83 kB / 0.7072 GB, free: 0.7266 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.01402, allocations: 313.5 kB / 0.7075 GB, free: 404 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.01408, allocations: 93.81 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.01416, allocations: 25.47 kB / 0.7076 GB, free: 264 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.01423, allocations: 16.5 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of SimCode: time 5.31e-07/0.01423, allocations: 0 / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of Templates: time 0.006773/0.021, allocations: 2.502 MB / 0.71 GB, free: 13.85 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.698438833933324]