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.0008652/0.0008652, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002112, allocations: 440 kB / 10.41 MB, free: 284 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.0008992/0.0008992, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003843/0.004742, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.006/1.006, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08383/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.803/0.803, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03262/0.8356, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.564e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione): time 0.002643/0.002668, allocations: 1.967 MB / 0.5466 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.003479, allocations: 0.5808 MB / 0.5472 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.003539, allocations: 0 / 0.5472 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.583e-05/0.003605, allocations: 11.86 kB / 0.5472 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.003876, allocations: 67.55 kB / 0.5473 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.004036, allocations: 63.77 kB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.004271, allocations: 172 kB / 0.5475 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.004322, allocations: 9.906 kB / 0.5475 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.00449, allocations: 111.7 kB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.004718, allocations: 79.83 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.004744, allocations: 4 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.004767, allocations: 8 kB / 0.5477 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.004821, allocations: 27.88 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.004866, allocations: 27.94 kB / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.005, allocations: 75.73 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.005015, allocations: 0 / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005016, allocations: 0 / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.005025, allocations: 4 kB / 0.5478 GB, free: 26.82 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.0006374/0.005662, allocations: 392.1 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.005693, allocations: 12.03 kB / 0.5482 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.005738, allocations: 12.92 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.005888, allocations: 155.3 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005907, allocations: 8.375 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.005932, allocations: 4.375 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.00606, allocations: 77.02 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006069, allocations: 7.922 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.00608, allocations: 8 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006086, allocations: 0 / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.006134, allocations: 23.92 kB / 0.5485 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.006395, allocations: 201.8 kB / 0.5487 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006517, allocations: 110.9 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.006548, allocations: 24.83 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.006565, allocations: 0 / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.006699, allocations: 86.25 kB / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.0067, allocations: 0 / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001684/0.006868, allocations: 93.59 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.006893, allocations: 55.41 kB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.006959, allocations: 146.6 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.006974, allocations: 33.7 kB / 0.5492 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.007005, allocations: 96.06 kB / 0.5493 GB, free: 25.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.007028, allocations: 43.61 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.007075, allocations: 45.64 kB / 0.5494 GB, free: 25.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.007111, allocations: 326.8 kB / 0.5497 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.007147, allocations: 44.52 kB / 0.5498 GB, free: 24.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.0072, allocations: 161.1 kB / 0.5499 GB, free: 24.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.00726, allocations: 91.16 kB / 0.55 GB, free: 24.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007262, allocations: 0 / 0.55 GB, free: 24.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.669e-05/0.007359, allocations: 147.8 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.007389, allocations: 36.81 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007394, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.007406, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.007512, allocations: 35.92 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.007515, allocations: 0 / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.007583, allocations: 15.98 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007591, allocations: 8 kB / 0.5502 GB, free: 24.13 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.249e-05/0.007644, allocations: 116.7 kB / 0.5503 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007659, allocations: 20.14 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.007765, allocations: 94.36 kB / 0.5504 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.007769, allocations: 7.938 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00777, allocations: 0 / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007774, allocations: 0 / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.665e-05/0.007851, allocations: 97.75 kB / 0.5505 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.007852, allocations: 0 / 0.5505 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.007925, allocations: 31.98 kB / 0.5506 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.007938, allocations: 7.953 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00794, allocations: 3.938 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.007951, allocations: 7.984 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007952, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007953, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.008099, allocations: 143.2 kB / 0.5507 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.008117, allocations: 3.938 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.008165, allocations: 19.48 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.008209, allocations: 12 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.008216, allocations: 8 kB / 0.5508 GB, free: 23.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.322e-05/0.008249, allocations: 44.73 kB / 0.5508 GB, free: 23.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008249, allocations: 0 / 0.5508 GB, free: 23.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.008367, allocations: 32 kB / 0.5508 GB, free: 23.45 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 9.19e-05/0.008459, allocations: 84.36 kB / 0.5509 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.008617, allocations: 149.8 kB / 0.5511 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.008623, allocations: 4 kB / 0.5511 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.008684, allocations: 40.83 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.008906, allocations: 380.4 kB / 0.5515 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.01188, allocations: 350.2 kB / 0.5518 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.01191, allocations: 71.83 kB / 0.5519 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.381e-05/0.01201, allocations: 17.48 kB / 0.5519 GB, free: 22.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.01213, allocations: 91.34 kB / 0.552 GB, free: 22.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01213, allocations: 0 / 0.552 GB, free: 22.13 MB / 410.7 MB Notification: Performance of Templates: time 0.005437/0.01757, allocations: 2.76 MB / 0.5547 GB, free: 19.43 MB / 410.7 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: 3.35731784068048]