Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.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.0008654/0.0008654, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002112, allocations: 440 kB / 10.41 MB, free: 280 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.0008312/0.0008312, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009535/0.001785, allocations: 475.6 kB / 11.79 MB, free: 2.371 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 0.9742/0.9742, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.081, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.7451/0.7451, allocations: 291.2 MB / 0.5228 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02697/0.7721, allocations: 21.04 MB / 0.5434 GB, free: 31.69 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.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.5448 GB, free: 30.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.675e-05, allocations: 6.25 kB / 0.5448 GB, free: 30.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.002384/0.002401, allocations: 1.963 MB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.003254, allocations: 0.5756 MB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.003313, allocations: 0 / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.285e-05/0.003366, allocations: 11.86 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.00362, allocations: 67.48 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.003785, allocations: 71.77 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.003977, allocations: 164 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.004019, allocations: 5.969 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.00419, allocations: 127.7 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.004404, allocations: 67.84 kB / 0.5478 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.00443, allocations: 8 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.004455, allocations: 8 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.004505, allocations: 27.86 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.004556, allocations: 27.94 kB / 0.5479 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004683, allocations: 83.67 kB / 0.5479 GB, free: 27.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.004693, allocations: 0 / 0.5479 GB, free: 27.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004693, allocations: 0 / 0.5479 GB, free: 27.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.004703, allocations: 0 / 0.5479 GB, free: 27.02 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.0005565/0.00526, allocations: 392.2 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.005293, allocations: 8.031 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.005339, allocations: 12.92 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.00548, allocations: 159.9 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005498, allocations: 8.375 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.005524, allocations: 12.31 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.005659, allocations: 73.03 kB / 0.5486 GB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005667, allocations: 7.938 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005678, allocations: 3.984 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005684, allocations: 4 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.005737, allocations: 15.98 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.006007, allocations: 197.9 kB / 0.5488 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.006139, allocations: 122.8 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.006173, allocations: 16.86 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006189, allocations: 4 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.006309, allocations: 94.22 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.006311, allocations: 0 / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001648/0.006476, allocations: 93.59 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.006499, allocations: 51.41 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.006579, allocations: 150.6 kB / 0.5493 GB, free: 25.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.006595, allocations: 29.7 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.006627, allocations: 92.08 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.006654, allocations: 47.61 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.006709, allocations: 45.62 kB / 0.5495 GB, free: 25.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.006744, allocations: 322.8 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.006785, allocations: 44.53 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.006852, allocations: 164.9 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.00693, allocations: 84.16 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006932, allocations: 0 / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000126/0.007058, allocations: 154.4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.007086, allocations: 29.7 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007091, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007102, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.007227, allocations: 27.98 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.007231, allocations: 0 / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.007319, allocations: 19.98 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.007329, allocations: 4 kB / 0.5503 GB, free: 24.34 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.281e-05/0.007382, allocations: 124.6 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.007402, allocations: 15.94 kB / 0.5505 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007527, allocations: 94.92 kB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00753, allocations: 0 / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007531, allocations: 0 / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007536, allocations: 3.984 kB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.007628, allocations: 97.75 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007629, allocations: 8.219 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.007728, allocations: 27.92 kB / 0.5507 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.007745, allocations: 11.89 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.007749, allocations: 11.44 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.007761, allocations: 0 / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007762, allocations: 0 / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007763, allocations: 0 / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.007924, allocations: 142.8 kB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.007946, allocations: 7.938 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.008016, allocations: 16.02 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.00806, allocations: 11.92 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.00807, allocations: 7.984 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.008107, allocations: 39.12 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008107, allocations: 0 / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008278, allocations: 32 kB / 0.551 GB, free: 23.64 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.789e-05/0.008346, allocations: 88.34 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.008491, allocations: 145.9 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.008497, allocations: 0 / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.008562, allocations: 52.72 kB / 0.5512 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.008795, allocations: 373.7 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.01237, allocations: 350.2 kB / 0.5519 GB, free: 22.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.538e-05/0.0124, allocations: 71.84 kB / 0.552 GB, free: 22.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.096e-05/0.01247, allocations: 21.52 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.0126, allocations: 87.34 kB / 0.5521 GB, free: 22.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0126, allocations: 4 kB / 0.5521 GB, free: 22.33 MB / 410.7 MB Notification: Performance of Templates: time 0.004617/0.01721, allocations: 2.763 MB / 0.5548 GB, free: 19.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2563124829903245]