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.0009679/0.0009679, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002321, 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.0008355/0.0008355, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002026, 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.116/1.116, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1349/1.25, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8224/0.8224, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04152/0.8639, allocations: 21.05 MB / 0.5432 GB, free: 31.74 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.495e-06/2.495e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.769e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.003582/0.00362, allocations: 1.966 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.004698, allocations: 0.5692 MB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.00478, allocations: 7.938 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.823e-05/0.004858, allocations: 7.922 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.005202, allocations: 67.42 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.005431, allocations: 67.83 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.005701, allocations: 168 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.00576, allocations: 9.953 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.005973, allocations: 115.7 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.006238, allocations: 75.78 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.006275, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.006301, allocations: 4 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.006365, allocations: 23.92 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.006427, allocations: 27.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.006592, allocations: 83.67 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.006609, allocations: 0 / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.006611, allocations: 4 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.00663, allocations: 0 / 0.5478 GB, free: 27.11 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.0007533/0.007383, allocations: 380.2 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.007428, allocations: 12.03 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.007481, allocations: 16.92 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.007674, allocations: 158.8 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.007701, allocations: 4.375 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.007733, allocations: 12.38 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.007906, allocations: 77.03 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.007917, allocations: 3.938 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.007929, allocations: 7.984 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.007937, allocations: 3.984 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.007992, allocations: 19.98 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.008361, allocations: 193.8 kB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.008517, allocations: 114.9 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.008556, allocations: 24.86 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.008578, allocations: 4 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.008736, allocations: 94.22 kB / 0.5488 GB, free: 25.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/0.008739, allocations: 3.938 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001954/0.008935, allocations: 81.66 kB / 0.5489 GB, free: 25.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.008966, allocations: 59.41 kB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.009056, allocations: 146.6 kB / 0.5491 GB, free: 25.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.009076, allocations: 33.92 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.009116, allocations: 92.08 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.009155, allocations: 51.55 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.009227, allocations: 49.62 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.009276, allocations: 322.8 kB / 0.5496 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.009327, allocations: 40.53 kB / 0.5497 GB, free: 24.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.009403, allocations: 162 kB / 0.5498 GB, free: 24.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.009492, allocations: 86.98 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009495, allocations: 0 / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001449/0.00964, allocations: 147.8 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.009681, allocations: 33.7 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.009687, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009698, allocations: 4 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.009846, allocations: 35.92 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.00985, allocations: 2.969 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.009945, allocations: 15.98 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.009956, allocations: 4 kB / 0.5502 GB, free: 24.42 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 7.427e-05/0.01003, allocations: 124.6 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.01005, allocations: 7.938 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.01022, allocations: 98.86 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01022, allocations: 4 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01022, allocations: 4 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01023, allocations: 3.984 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.01033, allocations: 101.8 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.01034, allocations: 3.062 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.01046, allocations: 23.98 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01048, allocations: 7.953 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01049, allocations: 3.938 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.0105, allocations: 8 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01051, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01051, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01071, allocations: 146.7 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01073, allocations: 7.938 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.01081, allocations: 11.98 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.01086, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.01087, allocations: 3.984 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.59e-05/0.01092, allocations: 43.94 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01092, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.01111, allocations: 31.94 kB / 0.5508 GB, free: 23.73 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 0.0001318/0.01124, allocations: 92.38 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01143, allocations: 149.9 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.01144, allocations: 4 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.01151, allocations: 40.78 kB / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01173, allocations: 55.06 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.01545, allocations: 354.2 kB / 0.5514 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.0155, allocations: 71.83 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.0156, allocations: 17.48 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01574, allocations: 87.28 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.01574, allocations: 3.938 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of Templates: time 0.005792/0.02153, allocations: 2.742 MB / 0.5543 GB, free: 20.13 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.74632291123271]