Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.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.001278/0.001278, allocations: 92.48 kB / 19.94 MB, free: 4.594 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.001722/0.001722, allocations: 169.9 kB / 23.21 MB, free: 1.324 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.9805/0.9805, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7798/0.7798, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.576e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide): time 0.002978/0.003014, allocations: 1.834 MB / 0.6992 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.003822, allocations: 0.5499 MB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.003887, allocations: 4 kB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.003988, allocations: 15.8 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.004341, allocations: 59.55 kB / 0.6998 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.004482, allocations: 75.02 kB / 0.6999 GB, free: 7.824 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.00466, allocations: 167.3 kB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.004707, allocations: 9.281 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.004826, allocations: 87.78 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.00503, allocations: 75.78 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.005056, allocations: 8 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.005073, allocations: 4 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.00513, allocations: 39.89 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.005182, allocations: 47.84 kB / 0.7003 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.005315, allocations: 95.67 kB / 0.7004 GB, free: 7.301 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005318, allocations: 4 kB / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005319, allocations: 0 / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005324, allocations: 0 / 0.7004 GB, free: 7.297 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.0005592/0.005883, allocations: 391.5 kB / 0.7008 GB, free: 6.879 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.005923, allocations: 11.89 kB / 0.7008 GB, free: 6.867 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.005971, allocations: 20.84 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.006117, allocations: 150.1 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.006132, allocations: 4.375 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.006158, allocations: 12.36 kB / 0.701 GB, free: 6.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.006329, allocations: 94.19 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006338, allocations: 7.938 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.006351, allocations: 4 kB / 0.7011 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006356, allocations: 0 / 0.7011 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.006518, allocations: 87.84 kB / 0.7011 GB, free: 6.465 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.00688, allocations: 276.4 kB / 0.7014 GB, free: 6.164 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.007108, allocations: 134.4 kB / 0.7015 GB, free: 6.023 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.007188, allocations: 56.97 kB / 0.7016 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.007203, allocations: 0 / 0.7016 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.007376, allocations: 119.2 kB / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.007377, allocations: 0 / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003482/0.007725, allocations: 204.8 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.007753, allocations: 51.41 kB / 0.7019 GB, free: 5.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007858, allocations: 155.6 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007871, allocations: 33.7 kB / 0.7021 GB, free: 5.371 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.007915, allocations: 104.1 kB / 0.7022 GB, free: 5.266 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.007938, allocations: 43.62 kB / 0.7023 GB, free: 5.223 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.007985, allocations: 41.7 kB / 0.7023 GB, free: 5.176 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.323e-05/0.008018, allocations: 322.8 kB / 0.7026 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.00812, allocations: 85.66 kB / 0.7027 GB, free: 4.762 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.008235, allocations: 203 kB / 0.7029 GB, free: 4.527 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.008391, allocations: 140.5 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.008394, allocations: 3.938 kB / 0.703 GB, free: 4.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002313/0.008626, allocations: 243.2 kB / 0.7033 GB, free: 4.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.008652, allocations: 33.7 kB / 0.7033 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008658, allocations: 8.047 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.008674, allocations: 3.984 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.008776, allocations: 31.91 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008783, allocations: 0 / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.008863, allocations: 23.92 kB / 0.7034 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.008874, allocations: 4 kB / 0.7034 GB, free: 4.016 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.177e-05/0.008936, allocations: 118.4 kB / 0.7035 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.008951, allocations: 19.91 kB / 0.7035 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.009186, allocations: 174.3 kB / 0.7037 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009188, allocations: 0 / 0.7037 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.009193, allocations: 3.984 kB / 0.7037 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.009197, allocations: 0 / 0.7037 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.688e-05/0.009284, allocations: 149.2 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009286, allocations: 3.938 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.009378, allocations: 27.98 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.009382, allocations: 0 / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.009393, allocations: 11.92 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009395, allocations: 4 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009396, allocations: 0 / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.009692, allocations: 245.7 kB / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.009711, allocations: 19.88 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.00973, allocations: 7.984 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.009785, allocations: 7.984 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.009839, allocations: 23.91 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.009847, allocations: 4.062 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.009894, allocations: 125.8 kB / 0.7043 GB, free: 3.031 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.009894, allocations: 0 / 0.7043 GB, free: 3.031 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001342/0.01003, allocations: 32 kB / 0.7043 GB, free: 3 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.0001024/0.01013, allocations: 99.25 kB / 0.7044 GB, free: 2.891 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.01039, allocations: 216.9 kB / 0.7046 GB, free: 2.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01039, allocations: 0 / 0.7046 GB, free: 2.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.01048, allocations: 63.89 kB / 0.7047 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01069, allocations: 47.89 kB / 0.7047 GB, free: 2.551 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.01119, allocations: 338.9 kB / 0.705 GB, free: 2.191 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01123, allocations: 97.8 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.01128, allocations: 16.5 kB / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of SimCode: time 8.42e-07/0.01128, allocations: 0 / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of Templates: time 0.002625/0.01391, allocations: 2.053 MB / 0.7071 GB, free: 12 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.438228043727577]