Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.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.002124/0.002124, 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.002195/0.002195, 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.393/1.393, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.355e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon): time 0.00297/0.003004, allocations: 1.822 MB / 0.7017 GB, free: 6.742 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.003997, allocations: 0.5538 MB / 0.7022 GB, free: 6.184 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.004064, allocations: 0 / 0.7022 GB, free: 6.184 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.004175, allocations: 11.86 kB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.004572, allocations: 71.53 kB / 0.7023 GB, free: 6.102 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.004759, allocations: 67.52 kB / 0.7024 GB, free: 6.039 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.005001, allocations: 171.3 kB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.005055, allocations: 5.312 kB / 0.7025 GB, free: 5.867 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005195, allocations: 95.77 kB / 0.7026 GB, free: 5.773 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.00543, allocations: 71.78 kB / 0.7027 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.005459, allocations: 12 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.005483, allocations: 8 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.005549, allocations: 35.83 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.00561, allocations: 39.91 kB / 0.7028 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.005758, allocations: 111.5 kB / 0.7029 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005761, allocations: 0 / 0.7029 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005762, allocations: 0 / 0.7029 GB, free: 5.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005768, allocations: 0 / 0.7029 GB, free: 5.5 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.0007837/0.006551, allocations: 395.5 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006593, allocations: 8.031 kB / 0.7033 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.006653, allocations: 16.84 kB / 0.7033 GB, free: 5.055 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.006867, allocations: 146.2 kB / 0.7034 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.006886, allocations: 8.375 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.006918, allocations: 8.375 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.007172, allocations: 94.19 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.007181, allocations: 3.938 kB / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007198, allocations: 0 / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007203, allocations: 7.938 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.007481, allocations: 87.91 kB / 0.7036 GB, free: 4.676 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.007958, allocations: 280.4 kB / 0.7039 GB, free: 4.371 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.008302, allocations: 130.4 kB / 0.704 GB, free: 4.234 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.008442, allocations: 60.81 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.008463, allocations: 3.938 kB / 0.7041 GB, free: 4.168 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.008715, allocations: 115.3 kB / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.008717, allocations: 0 / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005219/0.009239, allocations: 193.7 kB / 0.7044 GB, free: 3.848 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.009273, allocations: 55.41 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.0094, allocations: 159.6 kB / 0.7046 GB, free: 3.617 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.009419, allocations: 25.7 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.009475, allocations: 108 kB / 0.7047 GB, free: 3.477 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.009508, allocations: 55.62 kB / 0.7048 GB, free: 3.422 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.009571, allocations: 33.7 kB / 0.7048 GB, free: 3.383 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.00966, allocations: 322.8 kB / 0.7051 GB, free: 3.059 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.009825, allocations: 81.66 kB / 0.7052 GB, free: 2.973 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.01002, allocations: 202.1 kB / 0.7054 GB, free: 2.738 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.0103, allocations: 144.2 kB / 0.7055 GB, free: 2.59 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.0103, allocations: 3.938 kB / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004045/0.0107, allocations: 243.8 kB / 0.7057 GB, free: 2.332 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.01073, allocations: 29.7 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01074, allocations: 3.938 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01075, allocations: 0 / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.01091, allocations: 35.97 kB / 0.7058 GB, free: 2.258 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01092, allocations: 3.984 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01108, allocations: 15.92 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01109, allocations: 4 kB / 0.7058 GB, free: 2.234 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 7.531e-05/0.01117, allocations: 146.2 kB / 0.706 GB, free: 2.082 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.01119, allocations: 11.91 kB / 0.706 GB, free: 2.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.01157, allocations: 166.4 kB / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01158, allocations: 0 / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01158, allocations: 4 kB / 0.7062 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01158, allocations: 224 / 0.7062 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.01169, allocations: 145.2 kB / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0117, allocations: 7.875 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.01185, allocations: 27.97 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01185, allocations: 4 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01187, allocations: 0 / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01187, allocations: 0 / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01187, allocations: 3.938 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.01236, allocations: 252.1 kB / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.01239, allocations: 23.8 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.01242, allocations: 4 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01256, allocations: 16.05 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.01262, allocations: 15.97 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01263, allocations: 8 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.01271, allocations: 125.8 kB / 0.7068 GB, free: 1.238 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 0.7068 GB, free: 1.238 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002114/0.01292, allocations: 28 kB / 0.7068 GB, free: 1.211 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.0001033/0.01302, allocations: 103.2 kB / 0.7069 GB, free: 1.098 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.01342, allocations: 217 kB / 0.7071 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01342, allocations: 0 / 0.7071 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.01359, allocations: 67.88 kB / 0.7072 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01387, allocations: 35.91 kB / 0.7072 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.0145, allocations: 309.5 kB / 0.7075 GB, free: 448 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.01456, allocations: 97.73 kB / 0.7076 GB, free: 332 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.543e-05/0.01465, allocations: 25.48 kB / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.0147, allocations: 20.48 kB / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of SimCode: time 3.21e-07/0.0147, allocations: 0 / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of Templates: time 0.006414/0.02111, allocations: 2.481 MB / 0.71 GB, free: 13.87 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.793169848853722]