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.0009568/0.0009568, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002242, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007302/0.0007302, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001644, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9578/0.9578, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07961/1.037, allocations: 53.66 MB / 243.2 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.718/0.718, allocations: 291.1 MB / 0.5225 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02647/0.7445, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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 1.162e-06/1.162e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.297e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.002275/0.002288, allocations: 1.954 MB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.003077, allocations: 0.5718 MB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.003133, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.003181, allocations: 15.84 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.003402, allocations: 71.47 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.003556, allocations: 71.77 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003731, allocations: 160 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.003766, allocations: 5.969 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.003931, allocations: 119.8 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.004122, allocations: 79.77 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.004148, allocations: 8 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.592e-05/0.004174, allocations: 8 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.004218, allocations: 15.94 kB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.004267, allocations: 27.94 kB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.004392, allocations: 87.61 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.004406, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004406, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.004417, allocations: 0 / 0.5476 GB, free: 27.18 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.0004989/0.004916, allocations: 388.2 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.004942, allocations: 8.031 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.004985, allocations: 16.92 kB / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.005115, allocations: 154.8 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.005134, allocations: 4.375 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.005156, allocations: 12.38 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.005286, allocations: 80.95 kB / 0.5482 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005293, allocations: 3.938 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005303, allocations: 4 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005308, allocations: 4 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.005363, allocations: 23.97 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.005631, allocations: 189.9 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.005755, allocations: 118.9 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.005792, allocations: 28.84 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005805, allocations: 0 / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.005913, allocations: 90.23 kB / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.005915, allocations: 0 / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001704/0.006085, allocations: 89.59 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.006108, allocations: 59.62 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.006187, allocations: 150.6 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.006201, allocations: 33.64 kB / 0.549 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.006233, allocations: 96.06 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.006262, allocations: 47.61 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.006318, allocations: 41.64 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.727e-05/0.006355, allocations: 322.8 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.006398, allocations: 44.52 kB / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.006467, allocations: 160.9 kB / 0.5497 GB, free: 24.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.006548, allocations: 88.16 kB / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006549, allocations: 0 / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001307/0.00668, allocations: 150.3 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.006708, allocations: 37.69 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006712, allocations: 0 / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.006721, allocations: 4 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.006847, allocations: 27.98 kB / 0.5499 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00685, allocations: 0 / 0.5499 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.006946, allocations: 15.98 kB / 0.55 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.006957, allocations: 11 kB / 0.55 GB, free: 24.49 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.465e-05/0.007012, allocations: 124.5 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.007033, allocations: 15.92 kB / 0.5501 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007153, allocations: 90.42 kB / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007155, allocations: 4 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007157, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00716, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.007251, allocations: 101.8 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007252, allocations: 0 / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.007351, allocations: 31.92 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.007369, allocations: 7.953 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.007374, allocations: 3.938 kB / 0.5503 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.007387, allocations: 11.98 kB / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007389, allocations: 0 / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.00739, allocations: 0 / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.00755, allocations: 135.3 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.007575, allocations: 7.938 kB / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.007644, allocations: 11.98 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.007685, allocations: 15.97 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.007694, allocations: 7.969 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.007729, allocations: 43.06 kB / 0.5506 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00773, allocations: 0 / 0.5506 GB, free: 23.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.007923, allocations: 32 kB / 0.5506 GB, free: 23.8 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.452e-05/0.007987, allocations: 84.41 kB / 0.5507 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.008133, allocations: 149.9 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.008136, allocations: 0 / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.008189, allocations: 32.84 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.008367, allocations: 66.11 kB / 0.5509 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.01124, allocations: 354.2 kB / 0.5512 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.006e-05/0.01126, allocations: 67.84 kB / 0.5513 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.01131, allocations: 21.52 kB / 0.5513 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.01141, allocations: 95.28 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01141, allocations: 0 / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of Templates: time 0.003254/0.01466, allocations: 2.745 MB / 0.5541 GB, free: 20.2 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.088119013234973]