Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.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.005329/0.005329, 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.005647/0.005647, 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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.473/1.473, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.669e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione): time 0.00244/0.002467, allocations: 1.832 MB / 0.7017 GB, free: 6.695 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.003415, allocations: 0.546 MB / 0.7022 GB, free: 6.145 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.003474, allocations: 3.938 kB / 0.7022 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.003563, allocations: 15.84 kB / 0.7022 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.003888, allocations: 67.55 kB / 0.7023 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.004047, allocations: 70.52 kB / 0.7024 GB, free: 5.992 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.004239, allocations: 167.3 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.004296, allocations: 5.312 kB / 0.7025 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.004425, allocations: 91.72 kB / 0.7026 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.004634, allocations: 79.77 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.004661, allocations: 8 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.004689, allocations: 12 kB / 0.7027 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.004745, allocations: 27.91 kB / 0.7027 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.004808, allocations: 51.77 kB / 0.7028 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.00495, allocations: 99.67 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004953, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004954, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004958, allocations: 0 / 0.7029 GB, free: 5.461 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.000767/0.005725, allocations: 399.5 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.00576, allocations: 15.89 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.005819, allocations: 16.83 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.006, allocations: 142.2 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006018, allocations: 4.375 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.00605, allocations: 12.38 kB / 0.7035 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.006306, allocations: 102.1 kB / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.006316, allocations: 3.938 kB / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006329, allocations: 0 / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006336, allocations: 4 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.006638, allocations: 83.92 kB / 0.7036 GB, free: 4.629 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.00705, allocations: 280.4 kB / 0.7039 GB, free: 4.324 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.007408, allocations: 138.3 kB / 0.704 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.007552, allocations: 52.98 kB / 0.7041 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.00757, allocations: 4 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.007812, allocations: 115.3 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.007813, allocations: 0 / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005344/0.008348, allocations: 193.6 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.008375, allocations: 59.34 kB / 0.7044 GB, free: 3.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008489, allocations: 159.6 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.00851, allocations: 29.69 kB / 0.7046 GB, free: 3.531 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.008557, allocations: 104.1 kB / 0.7047 GB, free: 3.426 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.008586, allocations: 39.64 kB / 0.7048 GB, free: 3.387 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.00865, allocations: 41.7 kB / 0.7048 GB, free: 3.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.008699, allocations: 322.8 kB / 0.7051 GB, free: 3.016 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.008869, allocations: 81.66 kB / 0.7052 GB, free: 2.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.009095, allocations: 206.1 kB / 0.7054 GB, free: 2.691 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.009395, allocations: 138.5 kB / 0.7055 GB, free: 2.547 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.009398, allocations: 3.938 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004023/0.0098, allocations: 247.6 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.009835, allocations: 33.69 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009841, allocations: 0 / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.009857, allocations: 4 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.01003, allocations: 23.98 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01003, allocations: 0 / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.01021, allocations: 23.86 kB / 0.7058 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.01023, allocations: 4 kB / 0.7058 GB, free: 2.191 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 0.0001136/0.01034, allocations: 137.7 kB / 0.706 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.01036, allocations: 11.91 kB / 0.706 GB, free: 2.035 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.01079, allocations: 169.1 kB / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.0108, allocations: 4 kB / 0.7061 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.0108, allocations: 0 / 0.7061 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01081, allocations: 0 / 0.7061 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.01095, allocations: 145.2 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01095, allocations: 3.938 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.01112, allocations: 35.91 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01112, allocations: 4 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.01114, allocations: 3.938 kB / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01114, allocations: 4 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01114, allocations: 0 / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.01168, allocations: 253 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.01172, allocations: 19.78 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.01176, allocations: 0 / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.01189, allocations: 20.05 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.01198, allocations: 11.97 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.012, allocations: 4 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.0121, allocations: 125.3 kB / 0.7067 GB, free: 1.203 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 0.7067 GB, free: 1.203 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002235/0.01232, allocations: 32 kB / 0.7068 GB, free: 1.172 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.000163/0.01248, allocations: 107.2 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.01295, allocations: 209 kB / 0.7071 GB, free: 0.832 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01295, allocations: 7.938 kB / 0.7071 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.01312, allocations: 55.95 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.0003299/0.01345, 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.0006547/0.0141, allocations: 320.1 kB / 0.7075 GB, free: 400 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.01416, allocations: 93.81 kB / 0.7076 GB, free: 288 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.747e-05/0.01425, allocations: 25.52 kB / 0.7076 GB, free: 260 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.0143, allocations: 20.48 kB / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of SimCode: time 3.4e-07/0.0143, allocations: 0 / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of Templates: time 0.007019/0.02132, allocations: 2.489 MB / 0.7101 GB, free: 13.82 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.860811108024791]