Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.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.0007535/0.0007535, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009331/0.001687, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006997/0.0006997, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009014/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09046/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7841/0.7841, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03168/0.8158, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.221e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240): time 0.002993/0.003016, allocations: 1.966 MB / 0.5465 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.003942, allocations: 0.577 MB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.004013, allocations: 0 / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.196e-05/0.004075, allocations: 11.86 kB / 0.5471 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.004379, allocations: 67.48 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.004574, allocations: 67.77 kB / 0.5472 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.004818, allocations: 168 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.004869, allocations: 9.953 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.005065, allocations: 111.8 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.005298, allocations: 79.78 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.005327, allocations: 4 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.005352, allocations: 8 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.005408, allocations: 27.92 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.005468, allocations: 27.94 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.005642, allocations: 79.61 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.171e-05/0.005664, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005665, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.005686, allocations: 4 kB / 0.5477 GB, free: 27.32 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.000736/0.006422, allocations: 384.2 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.006465, allocations: 19.88 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.006522, allocations: 8.938 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.006725, allocations: 158.8 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.00675, allocations: 8.375 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.006779, allocations: 12.3 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.006952, allocations: 73.03 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.006962, allocations: 3.938 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006974, allocations: 8 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006981, allocations: 0 / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.007054, allocations: 23.97 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.007321, allocations: 193.9 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.007423, allocations: 118.9 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.007449, allocations: 16.86 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.007463, allocations: 4 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.007576, allocations: 94.22 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.007578, allocations: 4 kB / 0.5488 GB, free: 26.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001434/0.007722, allocations: 89.59 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.007746, allocations: 55.41 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.00781, allocations: 146.8 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007823, allocations: 33.7 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.007855, allocations: 96.02 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.007879, allocations: 43.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.007919, allocations: 45.64 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.007957, allocations: 318.8 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.008002, allocations: 48.52 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.008061, allocations: 165.2 kB / 0.5498 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.008123, allocations: 80.17 kB / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008125, allocations: 4 kB / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.568e-05/0.00822, allocations: 154.9 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.008252, allocations: 33.7 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008257, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.008264, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.008371, allocations: 28.03 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.008376, allocations: 4 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.008446, allocations: 23.97 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.008456, allocations: 0 / 0.5501 GB, free: 24.63 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.911e-05/0.008515, allocations: 120.6 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.008528, allocations: 19.92 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.008635, allocations: 98.05 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008637, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008639, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008643, allocations: 4 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.35e-05/0.008716, allocations: 101.7 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008718, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.008797, allocations: 31.92 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.008812, allocations: 11.95 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.008814, allocations: 3.938 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.008825, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.008828, allocations: 6.969 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008829, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.008981, allocations: 134.8 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.009004, allocations: 11.92 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.00905, allocations: 4 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.009086, allocations: 23.94 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.009092, allocations: 4 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.009118, allocations: 47.11 kB / 0.5507 GB, free: 23.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009118, allocations: 3.938 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.009234, allocations: 32 kB / 0.5507 GB, free: 23.93 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 8.468e-05/0.009319, allocations: 80.36 kB / 0.5508 GB, free: 23.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.009445, allocations: 149.9 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.00945, allocations: 4 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.00949, allocations: 36.78 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.009639, allocations: 51.34 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.01216, allocations: 354.2 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.459e-05/0.01218, allocations: 71.83 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.01224, allocations: 21.48 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01235, allocations: 87.34 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01235, allocations: 3.938 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003777/0.01613, allocations: 2.739 MB / 0.5542 GB, free: 20.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5066201239824295]