Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.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.0007143/0.0007143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009498/0.001664, 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.0007102/0.0007102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008973/0.001608, 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 0.9914/0.9914, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.085, allocations: 53.65 MB / 243.2 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.8189/0.8189, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07598/0.8949, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Americium241.Americium241,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.141e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241): time 0.002694/0.002715, allocations: 1.961 MB / 0.5465 GB, free: 28.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.003334, allocations: 0.5757 MB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.003374, allocations: 0 / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.492e-05/0.003419, allocations: 15.86 kB / 0.5471 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.003595, allocations: 63.48 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.003716, allocations: 71.77 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003854, allocations: 160 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.003885, allocations: 13.94 kB / 0.5473 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004008, allocations: 115.8 kB / 0.5475 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.004168, allocations: 71.78 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.004188, allocations: 11.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.004208, allocations: 8 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.004245, allocations: 19.92 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.004284, allocations: 31.94 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.004385, allocations: 79.67 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.0044, allocations: 4 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0044, allocations: 0 / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.004421, allocations: 0 / 0.5477 GB, free: 27.31 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.0005002/0.004921, allocations: 380.2 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.004952, allocations: 11.89 kB / 0.548 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.004994, allocations: 16.92 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.00513, allocations: 158.8 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005148, allocations: 8.375 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.00517, allocations: 18.05 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.005289, allocations: 73.03 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005297, allocations: 3.938 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.005306, allocations: 4 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005313, allocations: 4 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.005359, allocations: 27.97 kB / 0.5483 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.005857, allocations: 193.8 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.006021, allocations: 118.9 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.006052, allocations: 20.86 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.00607, allocations: 4 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.006221, allocations: 90.22 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.296e-06/0.006225, allocations: 0 / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001652/0.00639, allocations: 89.59 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006421, allocations: 55.41 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.00651, allocations: 150.6 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.006527, allocations: 29.92 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.00656, allocations: 96.08 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.006587, allocations: 51.55 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.006634, allocations: 41.64 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.006673, allocations: 322.8 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.006714, allocations: 44.52 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.006771, allocations: 158.1 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.177e-05/0.006833, allocations: 88.11 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.006836, allocations: 0 / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001063/0.006942, allocations: 154.8 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.006976, allocations: 29.7 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.006981, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.006991, allocations: 8 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.007127, allocations: 35.23 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.00713, allocations: 0 / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.007205, allocations: 15.98 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.007216, allocations: 4 kB / 0.5501 GB, free: 24.62 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.607e-05/0.007272, allocations: 116.7 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.007289, allocations: 15.92 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.007416, allocations: 98.36 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.007425, allocations: 8.031 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.007427, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.007446, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.007558, allocations: 101.8 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007561, allocations: 3.984 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.007672, allocations: 23.98 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.007694, allocations: 7.953 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.007699, allocations: 7.938 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.007716, allocations: 4 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.007718, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.00772, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.007891, allocations: 138.6 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.007913, allocations: 11.92 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.007976, allocations: 8 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.008015, allocations: 15.97 kB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.008022, allocations: 0 / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.008054, allocations: 47.11 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008054, allocations: 0 / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001139/0.008168, allocations: 31.94 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 9.093e-05/0.008259, allocations: 88.39 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.008411, allocations: 154.6 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.008417, allocations: 0 / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.008464, allocations: 40.78 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.008625, allocations: 54.72 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.01116, allocations: 358.2 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.664e-05/0.01118, allocations: 71.83 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.01125, allocations: 17.48 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.01136, allocations: 91.34 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01136, allocations: 0 / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of Templates: time 0.004098/0.01546, allocations: 2.742 MB / 0.5542 GB, free: 20.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4247727151960135]