Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_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.0007321/0.0007321, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009555/0.001688, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006996/0.0006996, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009448/0.001644, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 1.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09902/1.117, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.7789/0.7789, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0384/0.8173, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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.Diazoxon.Diazoxon_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.263e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference): time 0.002997/0.003019, allocations: 1.941 MB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004103, allocations: 0.5755 MB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.004177, allocations: 3.938 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.471e-05/0.004241, allocations: 7.922 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.004578, allocations: 71.47 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.00478, allocations: 67.77 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.005036, allocations: 168 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.005097, allocations: 5.969 kB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.005316, allocations: 119.7 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.005594, allocations: 75.78 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.005629, allocations: 4 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.005658, allocations: 8 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.005726, allocations: 27.92 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.005789, allocations: 27.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.005955, allocations: 75.75 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.005973, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005974, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.005994, allocations: 4 kB / 0.5477 GB, free: 27.14 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.0007546/0.006749, allocations: 384.1 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.006785, allocations: 12.03 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.006832, allocations: 16.92 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006992, allocations: 162.8 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007012, allocations: 4.375 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.007035, allocations: 8.375 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.007174, allocations: 73.02 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.007187, allocations: 3.938 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.007198, allocations: 8 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007204, allocations: 0 / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.007247, allocations: 23.98 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.007533, allocations: 205.8 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.007648, allocations: 118.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.007678, allocations: 20.84 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.007696, allocations: 4 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.007828, allocations: 86.11 kB / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.00783, allocations: 0 / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001633/0.007993, allocations: 85.59 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.008025, allocations: 59.39 kB / 0.5489 GB, free: 25.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.008106, allocations: 146.6 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.008121, allocations: 33.7 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.008157, allocations: 96.06 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.008186, allocations: 47.61 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.00823, allocations: 41.64 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.008268, allocations: 323 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.008306, allocations: 48.52 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.008366, allocations: 162 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.008439, allocations: 84.28 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008441, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001033/0.008545, allocations: 147.1 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.008579, allocations: 41.69 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008584, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.008594, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.008701, allocations: 35.92 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008706, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.00877, allocations: 15.3 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.00878, allocations: 4 kB / 0.5501 GB, free: 24.45 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 5.81e-05/0.008838, allocations: 124.6 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.008851, allocations: 11.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.008958, allocations: 102.4 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.00896, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.008962, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008966, allocations: 4 kB / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.627e-05/0.009042, allocations: 101.8 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009044, allocations: 0 / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.009115, allocations: 23.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.009129, allocations: 7.953 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.009132, allocations: 7.922 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.009145, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009147, allocations: 8 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.009147, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.009284, allocations: 146.6 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.009306, allocations: 7.938 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.009353, allocations: 7.984 kB / 0.5507 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.009404, allocations: 19.97 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009409, allocations: 0 / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.00944, allocations: 43.11 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00944, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001129/0.009553, allocations: 32 kB / 0.5507 GB, free: 23.75 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 6.729e-05/0.009621, allocations: 88.39 kB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.009759, allocations: 150.6 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.009766, allocations: 4 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.009817, allocations: 40.78 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.009977, allocations: 61.08 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.01245, allocations: 342.2 kB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.01248, allocations: 67.84 kB / 0.5515 GB, free: 22.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.01255, allocations: 25.52 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01265, allocations: 91.33 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01265, allocations: 0 / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of Templates: time 0.003966/0.01662, allocations: 2.746 MB / 0.5543 GB, free: 20.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3744043465703726]